Adding the Realtime Database

To establish the connection with our Realtime Database, let's create a database and add some dummy data to it first.

Go to the Database tab in the Firebase console, and you should find a database with your application name.

Use the in-app editor to add dummy values for a temperature and humidity key:

Now that we've added the database, let's connect to it from the frontend of our application.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.114.142