- 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>
npm install
npm start