https://github.com/rickgregg/saasmvp-iot
saasmvp-iot is a work-in-progress reference implementation that teaches how an Internet-of-Things (IoT) device behind a firewall can communicate with a web server on the public Internet. This simple implementation serves as a basis for Minimally Viable Product (MVP) IoT Software-as-a-Service (SaaS) applications. The software uses Node, Express, JavaScript, REST APIs and WebSockets on both the IoT device and the Endpoint Server. The reference implementation IoT hardware is a low-cost Raspberry Pi Zero 2W. The IoT device sends temperature readings to the Endpoint Server once per second. In turn, the Endpoint Server client browser dashboard can send a message to the IoT device to change the temperature scale. The dashboard displays near real time temperature updates from the IoT device. Additionally, the software maintains connectivity between the IoT device and the Endpoint Server in the case of a power or communications interruption. The Endpoint Server can run as a stand-alone Node server for local host testing or inside a Docker container containing a nginx proxy for use in network testing.
saasmvp-iot is a work-in-progress reference implementation that teaches how an Internet-of-Things (IoT) device behind a firewall can communicate with a web server on the public Internet. This simple implementation serves as a basis for Minimally Viable Product (MVP) IoT Software-as-a-Service (SaaS) applications. The software uses Node, Express, JavaScript, REST APIs and WebSockets on both the IoT device and the Endpoint Server. The reference implementation IoT hardware is a low-cost Raspberry Pi Zero 2W. The IoT device sends temperature readings to the Endpoint Server once per second. In turn, the Endpoint Server client browser dashboard can send a message to the IoT device to change the temperature scale. The dashboard displays near real time temperature updates from the IoT device. Additionally, the software maintains connectivity between the IoT device and the Endpoint Server in the case of a power or communications interruption. The Endpoint Server can run as a stand-alone Node server for local host testing or inside a Docker container containing a nginx proxy for use in network testing.
Statistics: Posted by rgregg — Fri Feb 28, 2025 7:07 pm — Replies 0 — Views 44