Skip to content

Commit

Permalink
chore: updates Firebase info
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrltrent authored Mar 5, 2024
1 parent 13a2e7c commit ea1d00a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ This includes your: access key, secret access key, and region.

**Add the Firebase API key:**

This can be obtained via: [Online Firebase console](https://console.firebase.google.com/) > confesi-server-dev > Project settings > Scroll down till you see "your apps" > Confesi web app. The key should be listed under the `apiKey` field. Add it as `FB_API_KEY` in the `.env` file.
This can be obtained via: [Online Firebase console](https://console.firebase.google.com/) > confesi-server-dev > gear cog > Project settings > Scroll down till you see "your apps" > Confesi web app. The key should be listed under the `apiKey` field in the right-panel. Add it as `FB_API_KEY` in the `.env` file.

**Add the `firebase-secrets.json` file to the root of the project:**

This can be obtained via: [Online Firebase console](https://console.firebase.google.com/) > confesi-server-dev > Project settings > Service accounts > Generate new private key. _Ensure this file is not checked into version control_.
This can be obtained via: [Online Firebase console](https://console.firebase.google.com/) > gear cog > confesi-server-dev > Project settings > Service accounts > Generate new private key. _Ensure this file is not checked into version control_. Rename to `firebase-secrets.json`.

**Install Node Modules for Cloud Functions:**

Expand Down Expand Up @@ -233,4 +233,4 @@ swag fmt

- Update Firebase Security Rules to ensure that a user can only access a document in the `rooms` collection if their `uid` is listed in the `user_id` field. Additionally, ensure only read access, as the server does the writing.

- Firebase indices created (else client (possibly server?) throws exceptions).
- Firebase indices created (else client (possibly server?) throws exceptions).

0 comments on commit ea1d00a

Please sign in to comment.