In this chapter, we have gone through the process of setting up a frame to work with internet of Things solutions. We have built most of the framework using only JavaScript as our programming language.
We started by understanding the architecture and data flow from a Raspberry Pi to an end user device such as a web app, desktop app, or mobile app. Then we started working on the broker using Mosca, after setting up the MongoDB. Next, we designed and developed the API engine and completed the basic Raspberry Pi setup.
We have worked on the web app and set up the necessary templates to work with the remaining part of the application. In Chapter 3, IoTFW.js - II, we will complete the entire framework and also integrate a DHT11 (temperature and humidity) sensor and an LED to validate the two-way data flow end to end.