Web Shop application demonstrating observability in a distributed system. The application consists of:
- WebShop React SPA - Vite + React app
- Products Service - Node.js app with PostgreSQL datastore
- Cart Service - Node.js app with in-memory state
- Install Docker Desktop and Tilt.
- run
docker compose up
from the root of the project to start all the services - setup data in DB with:
cd products-service && npm install && npm run setup-db
- Install Docker Desktop and Tilt.
- Enable Kubernetes in Docker
- run
tilt up
from the root of the project to start all the services - setup data in DB with:
cd products-service && npm install && npm run setup-db
- setup logging infra:
cd ../logging-infra && docker compose up
- Frontend app: http://localhost:5173/
- Tilt dashboard (k8s): http://localhost:10350
- Jaeger dashboard (traces): http://localhost:16686/search
- Grafana dashboard: http://localhost:3000/explore (user: admin, pass: admin)