Quick StartNodeJS ServerFirebase Integration

Firebase integration

In order to allow the server to communicate with the mobile app, you need to integrate Firebase into the mobile app.

Generate Firebase service account key

  1. Go to the Firebase Console.
  2. Click on the gear icon and select Project settings.

Server
  1. Go to the Service accounts tab and click on Generate new private key.

Server
  1. A file will be downloaded. Copy the content of that file and save it in the src/service-account/firebase.ts file.

Server

Make sure to add the following content to the src/service-account/firebase.ts file:

export const FIREBASE_CREDENTIALS = {
  ...
}