Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

sugo-code/data-api

Repository files navigation

data-api

Api used to retrieve data

Environment variables

PORT : app port (eg. 3000)

POSTGRESQL_URL : postgres connection string (eg. postgres://user:pass@localhost:5432/db)

INFLUXDB_URL : influxdb url (eg. http://localhost:8086)
INFLUXDB_TOKEN : influxdb api token (eg. 234567890309876542q)
INFLUXDB_BUCKET : influxdb bucket (eg. default)
INFLUXDB_ORG : influxdb organization (eg. org-1)

RABBITMQ_URL : rabbitmq connection string (eg. amqp://localhost)