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.

--(Google Corporation 2023)

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.

  1. Go to the Firebase Console.
  2. Use the Add Project link.
  3. Enter Name of Project.
  4. Choose whether to allow Google analytics for the project.
  5. If using analytics then select analytics account to use.
  6. Wait for project to be created.
  7. Open project menu and select Realtime Database control panel.
  8. Select Create Realtime Database.
  9. Set data-center location.
  10. Set security rules, it's good to start in test-mode (allow public read/write for 30 days)
  11. Once the database is created, it should show a Realtime Database dashboard for the newly created database.

Create Alarms from Realtime Data

  1. Go to realtime database
  2. Create another datastream or document in the document database
  3. Name it
  4. Copy the link to the client sending the data
  5. Paste the link to whatever API is requesting or publishing to firebase.

References

Web Links

Note Links