Node.js, Express and MongoDB implementing a data-aggregating sensor gateway with RESTful sensor and admin interfaces
Report
Share
Report
Share
1 of 1
Download to read offline
More Related Content
MEAN-stack based sensor gateway
1. MEAN Stack Gateway
● Standard MEAN server-side web api
stack running on DB410C
● Sensor, gateway and database all
share a single JSON data template
based on the model/schema
● Containerized
● Extensible via npm packages
REST sensor-api (port 3000)
admin
http client
(... and to the
cloud)
Node.jsexpress
Node.jsexpress
REST admin-api (port 3001)
post registration
get config
get schema
get time
post reading
get registered sensors
get aggregated data
sensor
clients
temperature
humidity
sensor
clients
temperature
humidity
sensor
clients
temperature
humidity