This repository contains the second API layer supporting Doppler-Heatmap.
Doppler-API consumes data off Kafka served by Doppler-events and sends this data over a web connection in JSON format to be displayed by a front end client. Doppler-frontend is available to display geographic data in heat-map format here.
- API-level language: Golang (1.10.2)
- Historical data storage: InfluxDB (1.4.3)
- Client and event identification data: Couchbase (Enterprise edition 5.1.1)
Doppler-api depends on Doppler-Events to serve its purpose. Doppler-frontend is necessary to display the data. Make sure both setup is complete for these repositories also. See these instructions
Clone this repository.
Follow all the steps listed here
Run docker build . -t acst/doppler-api:latest
Then go to doppler-events/ and run docker-compose up -d
Note: All the docker images (doppler-events, doppler-api, doppler-frontend) must have been built at least once in order for docker-compose up -d to work.
To receive messages and send over a web-socket connection, doppler-events and doppler-frontend must be running.