Firebase
Introduction
Firebase is an app development platform that helps you build and grow apps and games users love. Backed by Google and trusted by millions of businesses around the world.
Firebase is an application platform that simplifies significant amounts of backend application service development. This includes common backend logic like security authentication and authorization. Database management using its NoSQL Document Database. And provide real-time streaming of data compatible with publish/subscribe models of data transmission like MQTT.
Create a Real-Time Database
To create a realtime database using firebase, obviously go to the page first, then follow these UI prompts.
- Go to the Firebase Console.
- Use the
Add Project
link. - Enter Name of Project.
- Choose whether to allow Google analytics for the project.
- If using analytics then select analytics account to use.
- Wait for project to be created.
- Open project menu and select
Realtime Database
control panel. - Select
Create Realtime Database
. - Set data-center location.
- Set security rules, it's good to start in
test-mode
(allow public read/write for 30 days) - Once the database is created, it should show a
Realtime Database
dashboard for the newly created database.
Create Alarms from Realtime Data
- Go to realtime database
- Create another datastream or document in the document database
- Name it
- Copy the link to the client sending the data
- Paste the link to whatever API is requesting or publishing to firebase.