From the course: Building Production-Ready React Apps: Setup to Deployment with Firebase
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Learn to add and manage data
From the course: Building Production-Ready React Apps: Setup to Deployment with Firebase
Learn to add and manage data
- To add data into the Cloud Firestore you have different ways and options. So first, you could set the documents within a collection by explicitly specifying a document identifier. So that's one way to do it. We're going to go to the console. So first let's go to our projects and from here we're going to select fire store database. So from the shortcuts on the left. Then from here you see that you have the options to start a new collection. So I'm going to name this one stocks because that's going to be the name of our future collection, like image Stocks. And then we click Next. And from here you can then set your document which is adjust on format. You can see that this is a collection of key value pair like field and Value. So we could write first and then select the data type. So I'm going to leave it as string. I'm going to write Anna. Then you can select another field and then we can add last for the second…
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
-
-
-
-
-
-
-
-
Get started with the Cloud Firestore3m
-
(Locked)
Learn to add and manage data5m
-
(Locked)
Set a new document and store and sync data into the Cloud Firestore5m 53s
-
(Locked)
Learn to read data from a collection5m 32s
-
(Locked)
Get documents and display them in the app5m 18s
-
(Locked)
Define React environment variables4m 39s
-
-
-
-
-
-
-