ppatrzyk / forecast-monitor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

forecast-monitor

System to observe weather forecasts over time. Architecture:

flow

Note: with the volume of incoming data as it is currently configured, this system could be simplified where data from APIs would be written directly to Postgres instead fo Kafka.

Configuration

Collector config

cp _config.yaml config.yaml

and insert required values. weatherapi.com and tomorrow.io require registration to obtain API keys.

Collector build

docker build -t forecasts .

Frontend config

If this is deployed on a server, postgrest endpoint need to be adjusted in viz.js. Firewall must be open for ports 3000 and 8080 for IPs from which dashboard should be accessed.

Run

docker-compose up

About

License:MIT License


Languages

Language:Rust 73.7%Language:JavaScript 14.9%Language:HTML 4.8%Language:Dockerfile 3.4%Language:Shell 3.1%