sensors-api

0.0.2 • Public • Published

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.git

Create and edit the .env

$ cd sensors-api
$ cp .env.example .env
$ vi .env

Now simply run it with

$ node app.js

/sensors-api/

    Package Sidebar

    Install

    npm i sensors-api

    Weekly Downloads

    3

    Version

    0.0.2

    License

    ISC

    Unpacked Size

    5.53 kB

    Total Files

    5

    Last publish

    Collaborators

    • ladekjaer