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.
Populate Firestore with development data - Google Cloud Tutorial
From the course: Firebase Essential Training
Populate Firestore with development data
- [Instructor] Okay, so we've seen how basic querying in Firestore works, as well as how to control access to the Firestore by using security rules. The last piece of the puzzle before we have our front end start seriously interacting with Firestore, is to populate our Firestore with some testing data, so that we can immediately start to use it. This is where we're going to look inside this test directory that we haven't touched yet. You'll notice that inside this test directory, we have this testData.js file. And inside here, you'll see that we have a bunch of JSON data. It's got reservations, restaurants, reviews, and this date availabilities array, which we'll be using to allow users to see what times are available for making reservations at given restaurants. So what we're going to do in this video is write a script to take all of this data and insert it into our Firestore. But before we can do that, there's one…
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
-
-
-
-
-
-
-