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 reservation wrapper functions - Google Cloud Tutorial
From the course: Firebase Essential Training
Add reservation wrapper functions
- [Instructor] Okay, so far the kind of querying that we've been doing, besides the fact that we're doing it from the front end, has been pretty much the same as any other type of query. In other words, we fetch the data once and that's it. However, remember that earlier, I mentioned that one of the nice things about Firestore, is that we can subscribe to changes in our Firestore data. And as it happens, this is exactly what we'll want to do with two of our resources in our application. Our reservations and the date availabilities for restaurants. In this video, we're only going to look at loading the reservations, and then in a little while, we'll come back to loading the date availabilities. Let's start off by going into our reservations folder here, and creating a new file called subscribeToReservations.js. And now, besides the fact that we're going to be subscribing to our reservations instead of just fetching them once,…
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
-
-
-
-
-
-
-