Saving and serving data in and from our Realtime Database
When thinking of web apps, the saving/serving data process is essential. Data is typically the backbone of any web application, and saving is what most tutorials or guides describe as persisting it into a database.
Firebase is not exactly a database but is very similar to other databases that you might find on the market these days. It's a NoSQL database with Realtime functionality built into it, which means that when you save (persist) data into it, it will automatically broadcast the channels to anyone who is listening, typically all your users, also known as consumers.
In this chapter, we'll see how we can exploit the awesome Firebase Realtime Database to save/serve our data.
How to do it...
- We will first talk about the initial part of the recipe, which involves saving data in Firebase. So, let's see how that's done. Before we start with how we can save our data within our database, let's take a look at our application and the way...