Photo by Yaoqi LAI on Unsplash

Firebase 101: Realtime Database

Bryn Bennett
The Startup

--

If you missed my previous post, Firebase 101: Authentication, I recommend starting there for a thorough explanation of what exactly Firebase is. We also covered, as you may have guessed from the title, authentication with Firebase and how to implement it.

As far as databases go, Firebase has two options to select from — Cloud Firestore and Realtime Database. On comparing the two, Google offers the below:

Cloud Firestore is Firebase’s newest database for mobile app development. It builds on the successes of the Realtime Database with a new, more intuitive data model. Cloud Firestore also features richer, faster queries and scales further than the Realtime Database.

Realtime Database is Firebase’s original database. It’s an efficient, low-latency solution for mobile apps that require synced states across clients in realtime.

If you’d like to learn more about Cloud Firestore, you can find the documentation here and check out the below video. However, today we will be focusing on setting up and configuring a Realtime Database.

Realtime Database

Realtime Database is a NoSQL cloud database that prides itself on its realtime updates, scalability, and ability to operate offline. The realtime component is one of its most unique aspects. Data updates and…

--

--

Bryn Bennett
The Startup

Full stack engineer at Sensible Weather // Technical Blogger // Educative Author // Tree People volunteer 🏳️‍🌈