From the course: React: Cloud-Powered Apps with Firebase

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Cloud Firestore setup

Cloud Firestore setup

From the course: React: Cloud-Powered Apps with Firebase

Start my 1-month free trial

Cloud Firestore setup

In this particular module, we'll be setting up a users collection and also allow the user to update their profile data. When using email and password authentication in the Firebase, that data is actually securely store separately. A major reason is of course, to prevent any accidental user leaks and also, allow complete flexibility with how we store our user data in the Firebase. This means that is clearly not possible to retrieve a list of users, nor can we request from Firebase authentication the data for a particular user. We'll be creating our own users collection in Cloud Firestore, where users will update their profile data. Let's restart by cleaning up any test users. Now head over to the Database tab and we will create a new database. Click on Create Database, and we will leave it in production mode. Currently, any reader rights will be denied, but we will be updating that. Next, choose a location. This…

Contents