From the course: Angular: 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: Angular: Cloud-Powered Apps with Firebase

Start my 1-month free trial

Cloud Firestore setup

- [Narrator] In this particular chapter, we will be setting up a users collection and also allow the user to update their profile data. Now, when using email and password authentication in Firebase, that data is actually securely stored 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 Firebase. This means that it is impossible currently to retrieve a list of users, nor can we request from Firebase authentication the data for a particular user. We will be creating our own users collection in Cloud Firestore, where users will update their profile data. Let's first start by cleaning up any test users. Heading over to the authentication tab, can go ahead and delete this test user. Now we can go ahead to the database tab and we will create a new database. We will leave it in locked mode. Currently any read or writes will be…

Contents