sensors-api
v0.0.2
Published
HTTP server listening form DS18B20 sensors and saving those to a database (PostgreSQL).
Readme
Sensors API
This webapp is a http server running to receive data from sensors and saving it to a database.
Setup
sensors-api needs a running PostgreSQL runnung. See database/create_db.sql in this repository for definitions of the required tables.
Clone from GitHub
$ git clone https://github.com/ladekjaer/sensors-api.gitCreate and edit the .env
$ cd sensors-api
$ cp .env.example .env
$ vi .envNow simply run it with
$ node app.js