Skip to content

anas-ambalavan/react-todo-firebase-firestore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Step 1:

  • Create Firebase account and configure Firestore database https://firebase.google.com/docs/firestore
  • Create .env file in root dir and add variables according to the config file src/firebase.config.js
    eg:
    REACT_APP_API_KEY=<Your-Key>
    REACT_APP_AUTH_DOMAIN=<auth-domain>
    REACT_APP_DATABASE_URL=<databse-name>
    REACT_APP_PROJECT_ID=<project-id>
    REACT_APP_STORAGE_BUCKET=<storage-bucket>
    REACT_APP_MESSAGING_SENDER_ID=<messaging-id>
    REACT_APP_APP_ID=<app-id>

Step 2:

npm install

Step 3:

npm start

For more info about Firebase Firestore Database

https://firebase.google.com/docs/firestore