Skip to content

dkhd/reactjs-faunadb-simple-note-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Note-taking App Using ReactJS & FaunaDB

This is a sample project to demonstrate on how to use FaunaDB in ReactJS project. You can see the demo here:

Installation

  1. Clone this repository

$ git clone https://github.com/dkhd/reactjs-faunadb-simple-note-app.git

  1. Install all the dependencies

$ npm install

  1. Set your secret key (read the documentation below)

  2. Run the project

$ npm start

Getting Your FaunaDB Secret Key

  1. Register your FaunaDB account here https://fauna.com/

  2. Follow this documentation to create your own secret key https://docs.fauna.com/fauna/current/security/keys

  3. Create .env file in your root project directory

  4. Fill with REACT_APP_FAUNADB_KEY='<YOUR_SECRET_KEY>'

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT