add information on setting up firebase to the readme

I had to think a bit about what values to put in the .env file, and once I figured it out, I thought it would be helpful to add that information explicitly in the readme so other developers could speed up local development.
This commit is contained in:
Adam Leskis 2021-07-06 13:34:04 +01:00
parent 5fbf48cc3b
commit ed950ddcdc
1 changed files with 4 additions and 0 deletions

View File

@ -100,6 +100,10 @@ npm install
3. Create a `.env` file and fill it with your Firebase credentials
You can get these by setting up a firebase web app [here](https://console.firebase.google.com/u/0/).
Also note that you'll need to set up a Realtime Database, *not* a Firestore Database, to get the correct value for `FIREBASE_DATABASEURL`. Be sure to set it to test mode so you can read/write data. Just remember to either revert these or remove the database after your testing is completed.
```
FIREBASE_APIKEY=""
FIREBASE_APPID=""