上QQ阅读APP看书,第一时间看更新
API engine
An API engine is a web server application, written on Node.js, Express with persistence layer as MongoDB. This engine is responsible for communicating with Mosca as a MQTT client, persisting data into MongoDB as well as to expose APIs using Express. These APIs are then consumed by the apps to display the data.
We will also be implementing a socket-based API for user interfaces to get notified in real time from the devices between the apps and the server.