Monorepo that ingests CS2-themed events from RabbitMQ, Redis Pub/Sub, WebSocket, and Webhook sources, normalizes them through a connector worker, and displays live notifications in a React frontend.
docker compose up --buildThen open:
- Frontend: http://localhost:3000
- Backend API: http://localhost:8080/api/notifications
- RabbitMQ Management: http://localhost:15672 (guest / guest)
Simulator → [RabbitMQ | Redis | WebSocket | Webhook] → Connector Worker → Backend API → Frontend
| Service | Port | Description |
|---|---|---|
| rabbitmq | 5672, 15672 | Message queue + management UI |
| redis | 6379 | Pub/Sub channel |
| backend | 8080 | REST API (stores last 50 notifications) |
| connector | 9090 | Ingests all protocols, forwards to API |
| simulator | 8081 | Generates CS2 events + WebSocket server |
| frontend | 3000 | Live notification list (2s polling) |
Enable/disable adapters via environment variable on the connector service:
environment:
EnabledAdapters: rabbitmq,redis,websocket,webhookdocker compose downDocker stack çalışırken frontend'i ayrı geliştirmek için:
# 1. Altyapı servislerini başlat (backend, connector, simulator vb.)
docker compose up -d
# 2. Ayrı terminalde frontend dev server
cd frontend && npm run devVite proxy'si localhost:8080 (backend) ve localhost:8082 (simulator) adreslerine yönlendirir.
Docker container adları (backend, simulator) yalnızca Docker ağı içinde çözülür; host'ta npm run dev ile çalışmaz.
cd cs2kase
git init
git add .
git commit -m "Initial commit: CS2 multi-protocol notification pipeline"
git branch -M main
git remote add origin https://github.com/KULLANICI/cs2kase.git
git push -u origin main.gitignore ile node_modules/, bin/, obj/, dist/ ve eski Connector/ klasörü hariç tutulur.