A simple example app showcasing how to use firebase with react hooks
You will need to setup a GCP/Firebase account and create a project for authorization to work
Then add an .env file with the following config which can be retreived from your Firebase console
REACT_APP_FIREBASE_PUBLIC_API_KEY=
REACT_APP_FIREBASE_AUTH_DOMAIN=
REACT_APP_FIREBASE_DATABASE_URL=
REACT_APP_FIREBASE_PROJECT_ID=
REACT_APP_FIREBASE_MEASUREMENT_ID=
yarn start
Any improvements welcome
Some areas to improve/expand:
- Example getting/saving data using the hooks
- Tests
- Include signin/logout in styled header