Overview
Project started: 2025
NestJS microservice for real-time Twitch channel monitoring. Detects live events, game changes and viewership shifts, dispatches multi-platform webhook notifications (Discord and HTTP) with automatic retry and delivery logging, and persists data to PostgreSQL via Prisma. REST API secured with Bastion JWT auth and documented via Swagger.
Features
Automatic polling every 5 minutes with real-time event detection and SSE push to connected clients.
Configurable webhooks for Discord and HTTP with automatic retry (3 attempts), delivery logging and multi-webhook support per channel.
Aggregated statistics per channel, team and game: average viewers, peaks, duration and time trends.
REST API secured with RS256 JWT issued by Bastion (internal SSO), with scope verification and Swagger documentation.
Similar projects