Firebase Configuration

Create Firebase Project

  • Open the Firebase Console and create a new project.

Enable Google Analytics and Click on continue button

Select location and Accept the terms and then click on Create project button

Enable Sign-in Method

  • In Firebase console, open the Authentication section.

  • On the Sign-in Method tab, enable the Google Sign and Email/Password method and click save.

Cloud Firestore Database

  • Go to Firestore Database -> click on create database

  • Select location and click on the Next button

  • Select start test mode and go to create.

Storage

  • Go to storage and -> click on Get started

  • Select start test mode and click on Next

Click on Done

Create Indexes

  • Navigate to the Firebase Console and then to Indexes.

  • This type of error will appear when you run the project.

  • Copy and paste this link into your browser to get this dialogue type, then click Create Indexes.

  • Be patient, the indexes will take some time to build.

  • Create all indexes in this manner

Create Indexes mannually

Click on the Add Index button, and then enter the collection id.

places

status Descending rating Descending favourites Descending createdAt Descending

places

caseSearch Arrays status Ascending createdAt Descending

Create all of the indexes listed below and wait for them to be built.

Last updated