Skip to content

Firebase Setup

gilpanal edited this page Jun 14, 2020 · 5 revisions

The following information is about how to set up properly the Firebase Project and Database to run the local environments without errors.

  1. Create a Firebase Project. In the Firebase console, click Add project, then follow the on-screen instructions to create a Firebase project or to add Firebase services to an existing GCP project. More info: https://firebase.google.com/docs/admin/setup#set-up-project-and-service-account

  2. Enable Database feature for your Firebase project. Navigate to the Database section of the Firebase console. You'll be prompted to select an existing Firebase project. Follow the database creation workflow. Select a starting mode for your Firebase Security Rules. More info: https://firebase.google.com/docs/database/web/start#create_a_database

  3. Get the Firebase DB URL and JSON service account key. To generate a private key file for your service account:

. In the Firebase console, open Settings > Service Accounts.

. Click Generate New Private Key, then confirm by clicking Generate Key.

. Securely store the JSON file containing the key.

Firebase Account

Generate Key

More info: https://firebase.google.com/docs/admin/setup#initialize-sdk

  1. Use the key for config/account.json
Clone this wiki locally