Search⌘ K
AI Features

Create Cloud Firestore Database & Initialize Firebase CLI

Explore how to create a Cloud Firestore database instance and initialize the Firebase CLI for your web app. Understand configuring Firestore security rules, selecting the database region, and setting up Firebase Hosting features. This lesson equips you with essential steps for deploying and managing your cloud-native web application on Firebase.

Before we log in to Firebase or initialize the Firebase CLI, we need to create an instance of the Firestore Database.

Creating Cloud Firestore database

  1. Go to your Firebase console project overview. Under the Build section select Cloud Firestore and then click Create Database.
  1. It will open the following page for security rules for Cloud Firestore. Select Start in test mode. Click Next here.
  1. On the page for setting the Cloud Firestore location, select the region that is most suitable for your app’s users. It should be one that minimizes the clients’
...