To finish up your application, this video shows how to program a couple of related features like choosing a random user to award a star to and also resetting both the search as well as the random user selection. You will need to create a different array.
- [Instructor] So next, I'm going to work on … this button right here. … What I want to do is when I go to a meeting, … I want to be able to pick a random user … so that I can award them a prize. … So to do that, I'm going to need another placeholder … to store the results of this click. … So I'm going to make another array here. … It's going to be called display attendees … and I'll set that to an empty array to begin with. … And what I'll do is when I get the list … of all the attendees and I'm pushing them into the … attendees array, I'm also going to make a copy of it … and push it into display attendees. … So this display attendees, I'll just set it to … this attendees, … so we will have, sort of, a backup … of the current list of attendees. … Next up, I'll create an event that will be clicked on … from a button, so … there's a lot of stuff here. … Let's go ahead and collapse this … 'cause what I'm looking for … is this random button right here … so pick a random attendee. … When somebody clicks on this, …
- 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.