Firebase makes it easy to read data once into an application, but you also need to read data as it changes. There's a special method that lets you not just receive a snapshot, but a series of snapshots as the database changes.
- Let's work on reading the data … from our database so that we can … display it in here. … So we'll go over to App.vue, … and down here where we check to see when the … component is mounted, … we're checking to make sure that the user exists, … and then we're going to need to add … a read statement right here, and we're going to … read all the information into a … variable that we're going to call meetings here. … So this will be a empty array to begin with. … And let's go ahead and make this wider here. … So, now we can use the information from the database. … And we're going to look for the user's collection, … and in there we're going to look for the document … with the current user's id, … and we're going to then look for the collection … called meetings. … So once we do that, … we are going to check to see … if there's any new information. … So this is a little bit different. … Before, we were just reading data from the database. … We were doing it once, … but now we need to make sure that we check the database …
- Adding Firebase
- Setting up authentication with Firebase
- Reading dynamics snapshots
- Creating dynamic routes
- Displaying checked-in users
- Updating records
- Searching for data
- Creating security rules
Skill Level Intermediate
Building Laravel and Vue.js Web Appswith Michael Sullivan2h 47m Intermediate
1. Preparing Your App
2. Firebase Authentication
3. The Firestore Database
4. Finishing Up Your App
Next steps1m 56s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.