In the previous chapter, we were able to connect our frontend code to the Firebase platform's cloud APIs. We were able to retrieve and display mock readings that we got from Firebase and also updated them in real time with the changes that took place in the database. As a result, our entire API layer as well as our client-side static file has been moved to the cloud.
In this chapter, we will be dealing with the only part that we cannot move to the cloud: the sensor itself. This is the last piece in making our application completely cloud-based.
In this chapter, we will cover:
- The differences between implementing a server and a self-contained process
- Securing our application
- The application process architecture
- Implementation of the new architecture