This project was bootstrapped with Create React App.
I have added coments in code for understanding various components.
You will need to create a ".env" file with following keys for connecting to Firebase:
- REACT_APP_FIREBASE_API_KEY=key
- REACT_APP_FIREBASE_AUTH_DOMAIN=domain
- REACT_APP_FIREBASE_DATBASE_URL=URL
- REACT_APP_FIREBASE_PROJECT_ID=project id
- REACT_APP_FIREBASE_STORAGE_BUCKET=bucket
- REACT_APP_FIREBASE_MESSAGING_SENDER_ID=messaging id
- REACT_APP_FIREBASE_APP_ID=
Please find more details here: https://firebase.google.com/docs/web/setup#add_firebase_to_your_app
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.