Skip to content

Latest commit

 

History

History
42 lines (39 loc) · 1.58 KB

TODO.org

File metadata and controls

42 lines (39 loc) · 1.58 KB

DEBS Challenge Frontend

node express backend code

  • make /api route
  • send / to index.html
  • send other requests to 404.html

ssl?

docker-compose.yml

Run these commands:

  • export HOST_IP=$(ifconfig | grep -E "([0-9]{1,3}\.){3}[0-9]{1,3}" | grep -v 127.0.0.1 | awk '{ print $2 }' | cut -f2 -d: | head -n1)
  • docker compose up

It will start zookeeper, kafka, and questdb.

zookeeper

kafka

questdb

kafka-consumer

react build

node express app

serve frontend
handle db request
update every 1s
graph data on selection

Notes

React Query for fetching data from database