Once you push information to the real-time database, you need to be able to retrieve and display that information. Look at how referencing the database is useful in this video.
- Although we're able to add meetings to our database,…we need to be able to read them from the database,…and that's going to happen in this app component…and we can do that when the component mount…and we want to go ahead and make sure…that we do that when we have a user name.…So we're going to do something here.…Also, I'm going to clean this up a little bit.…And I want to make sure that I set the state of the user…to nothing if we don't get a user…from the Firebase database.…
All right, so after we set this state,…we're going to create a reference to the database.…And this is going to look for meetings, the meetings path.…And then use the user ID.…All right, so let's go back into the database…and if you remember, we store all the meetings…inside this meetings sort of subsection here.…And each of the meetings is stored using this user ID.…
And then inside the user ID,…we have a series of hashes for each meeting.…So we want to get right here.…And to do that, when we are authenticated,…we're going to get the user information from the authentication…
- Integrating Firebase
- Managing state in forms
- Registering users
- Logging users in and out
- Creating, editing, and deleting records from Firebase
- Filtering and searching data
Skill Level Intermediate
1. Getting Started
2. Routing and Connecting to a Database
3. Registering and Logging In Users
4. Working with Firebase Data
5. Working with Attendees
6. Filtering and Searching
Next steps1m 22s
- 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.