How prateekp3108/liveboard works
LiveBoard is a real-time Kanban board: users load the board, create/move/delete cards through the React UI, and receive changes over WebSockets. The Express API validates requests, persists cards, and publishes events for connected clients; PostgreSQL stores board state and Redis shares events across API replicas. The repository also documents GitOps deployment and metrics/log observability. Those operational links follow the README; the corresponding monitoring manifests are not present in the supplied tree, so their implementation details are not inferred.
Main entry points: app.js REST API · ws.js WebSocket stream · ingress.yaml Ingress controller · App.jsx Kanban UI
Components 18
Board experience
- Kanban UI
client/src/App.jsx
API runtime
- REST API
server/src/app.js - HTTP server startup
server/src/index.js - WebSocket stream
server/src/ws.js - Prometheus metrics
server/src/metrics.js
Shared state
- Card persistence
server/src/db.js - PostgreSQL
- Event pub/sub
server/src/redis.js - Redis
Deployment and observability
- Ingress controller
helm/liveboard/templates/ingress.yaml - Kubernetes workloads
helm/liveboard/values.yaml - Argo CD application
argocd/application.yaml - Kubernetes cluster
- Prometheus
observability/namespace.yaml - Grafana dashboards
observability/namespace.yaml - Promtail logs
observability/namespace.yaml - Loki log store
observability/namespace.yaml
Other components
- Board user
Connections 22
- Board user → Ingress controller: uses HTTP and WebSocket
README.md - Ingress controller → Kanban UI: routes board
README.md - Ingress controller → REST API: routes API and socket
README.md - Kanban UI → REST API: fetches and mutates cards
client/src/App.jsx - Kanban UI → WebSocket stream: receives card events
client/src/App.jsx - HTTP server startup → REST API: creates app
server/src/index.js - HTTP server startup → WebSocket stream: sets up socket
server/src/index.js - REST API → Card persistence: reads and writes cards
server/src/app.js - Card persistence → PostgreSQL: queries
README.md - REST API → Event pub/sub: publishes card events
server/src/app.js - WebSocket stream → Event pub/sub: subscribes to events
server/src/ws.js - Event pub/sub → Redis: publishes and subscribes
README.md - REST API → Prometheus metrics: records requests and card events
server/src/app.js - WebSocket stream → Prometheus metrics: tracks connections
server/src/ws.js - Prometheus → REST API: scrapes metrics
README.md - Grafana dashboards → Prometheus: reads metrics
README.md - Promtail logs → Loki log store: ships container logs
README.md - Grafana dashboards → Loki log store: queries logs
README.md - Argo CD application → Kubernetes workloads: syncs chart
README.md - Argo CD application → Kubernetes cluster: deploys workloads
README.md - Kubernetes workloads → Kubernetes cluster: defines workloads
README.md - Kubernetes workloads → Ingress controller: configures ingress
README.md