Skip to content

Repository files navigation

CS2 Kase — Multi-Protocol Notification Pipeline

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.

Quick Start

docker compose up --build

Then open:

Architecture

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)

Configuration

Enable/disable adapters via environment variable on the connector service:

environment:
  EnabledAdapters: rabbitmq,redis,websocket,webhook

Stop

docker compose down

Yerel Frontend Geliştirme (npm run dev)

Docker 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 dev

Vite 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.

GitHub'a Yükleme

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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages