Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 972 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 972 Bytes

giraffeboi

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.

Starting the Server

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

Starting the UI

yarn client-build

After building, go to http://localhost:8617

You can also build the UI in watch mode

yarn client-dev