Search⌘ K

Firebase Real-time Database in React

Understand how to store and manage user entities within a React app using Firebase's Real-time Database. Learn to initialize the database API, create and retrieve user references, and maintain control over user data while Firebase handles sensitive authentication details.

Storing User Data

So far, only Firebase knows about our users. There is no way to retrieve a single user or a list of users for our application from Firebase’s authentication database.

The users are stored internally by Firebase to keep the authentication secure. That’s good because we don’t need to be involved in storing sensitive data like passwords. However, we can introduce the Firebase Real-time Database to keep track of user entities ourselves.

It makes sense ...