A small app that uses InfluxData's giraffe library to render a simple plot of Influxdb data.
The app has a small express server to act as a proxy to an influxdb instance. The client is written in React and JavaScript and uses Fetch to talk to the server.
src/server
and src/client
are the code locations for the server and client.
INFLUX_URL=http://localhost:9999 INFLUX_TOKEN=foo ORG_ID=1234 node src/server/main.js
(fill in your proper INFLUX_URL
, INFLUX_TOKEN
, ORG_ID
values.)
yarn client-build
After building, go to http://localhost:8617
You can also build the UI in watch mode
yarn client-dev