Portfolio Week 6: Sending Data to the Google Firebase Cloud
- Goh Qi Xun

- Dec 2, 2019
- 1 min read
In this week exercise, I will learn how to send data to the cloud. The cloud storage I will be using is "Firebase", a google cloud-hosted database.
The Firebase Realtime Database is a cloud-hosted database by Google. Data is synced across all clients in a realtime cloud database and remains available when your app goes offline.

The first step was to create a realtime database call "My Room Temp" as I will be storing temperature into the JSON later.

Then I change the rules of the database to allow read and write into the database.

I installed the necessary library and packages needed for my python and firebase to work.

I will be making a new environment called Python 3.6 in order to support the python-firebase library to work.

Register the Environment with IPython, activate Python 3.6 and installing of Python Firebase Library.

Adding new records into Firebase database.

I realized when a new record is inserted into the Firebase database, a unique character sequence is being generated.

Deleting data in Firebase


This exercise teaches me how to use firebase properly. This will really help me a lot with my final assignments for Portfolio. I can make use of firebase to store user information and Machine learning.



Comments