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.
Add user wrapper functions - Google Cloud Tutorial
From the course: Firebase Essential Training
Add user wrapper functions
- [Instructor] Okay, so we have our Firestore database populated with some data that our front end application can use. Now we're going to start implementing the actual front end logic for querying this data. Previously, we saw what Firestore queries looked like and a few of the details behind how they work. Well, now we're going to actually put these queries in action. What we're going to do now is the same sort of thing that we did with Firebase Auth. We're going to create wrapper functions for all the important operations and queries that the rest of our app will need. The first thing we're going to do is create some wrapper functions for loading user info. So we'll start off by creating two files in our user directory. You'll see what these are for in a second. The first one will be called getUserInfo.js. And the second one will be called getCurrentUserinfo.js. So starting off with our getUserInfo wrapper function,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
What is Firestore?3m 47s
-
(Locked)
Firestore query basics7m 18s
-
(Locked)
Set up a Firestore database3m 52s
-
(Locked)
Firestore security rules8m 18s
-
(Locked)
Populate Firestore with development data8m 57s
-
(Locked)
Add user wrapper functions5m 59s
-
(Locked)
Add review wrapper functions4m 30s
-
(Locked)
Add restaurant wrapper functions1m 20s
-
(Locked)
Add reservation wrapper functions6m 46s
-
(Locked)
Add Firestore to a project7m 5s
-
(Locked)
Implement edit profile functionality6m 30s
-
(Locked)
Load available times8m 41s
-
(Locked)
Firestore pricing4m 49s
-
-
-
-
-
-
-