4-life / meters-data-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status David David glutenfree

Steps to create a server

Create .env file with environments

See example in .env-template file

Create DB

sudo -i -u postgres

psql

Create DB from schema.sql file.

Test request:

curl --header "Content-Type: application/json" http://localhost:3005/api/v1/metrics -d '{"sensorid": "13451571" }'

About


Languages

Language:TypeScript 95.4%Language:JavaScript 4.6%