From the course: Firebase Essential Training

Unlock the full course today

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

Implement edit profile functionality

Implement edit profile functionality - Google Cloud Tutorial

From the course: Firebase Essential Training

Start my 1-month free trial

Implement edit profile functionality

- [Instructor] Now that our app is partially hooked up to our Firestore, there are a few more things that we're going to do. The first of those things is that we're going to implement the edit profile page that will allow users to change their profile data such as their name, bio, and profile picture. Now granted, the profile picture stuff still won't work yet, we'll get to that when we take a look at cloud storage, but the rest of the edit profile functionality can still work. So the first step we're going to take in this process is to create another wrapper function. We already have wrapper functions for getting user info, but what we're going to build now is a function for updating user info. So, let's create a new file in our user directory and we're going to call it Update Current User Info.JS. And just as a side note, since users obviously aren't allowed to update each other's info, we're going to skip the intermediate…

Contents