We have finally built a cloud-enabled application that can be accessed by anyone in the world to view the readings that come from the sensor on your Pi device. The entire flow, from the sensor to the Pi, the cloud, the browser, and then to the user, is finally in place.
This chapter started by comparing the differences between the previous implementation that was running on the Pi and the one that we built here. This was a comparison between what compromises a server and a self-contained process. Next, the security considerations for write permissions was covered, along with some instructions on how to obtain these permissions through the use of the Firebase admin SDK. Then we discussed the detailed architecture of the application process along with a high-level overview of how it would work. Finally, we moved on to the implementation in our code by reusing some of the...