Vantz Stockwell
14b099b075
fix: Replace socket.io with native WS adapter — fixes WebSocket 1006
...
Test Asgard Runner / test (push) Successful in 3s
Frontend uses native WebSocket API, backend was using socket.io which
speaks an incompatible protocol. Switched to @nestjs/platform-ws so
both sides speak native WebSocket. Also fixed JWT TTL override in
docker-compose.yml (was hardcoded to 900s, now 14400s/4h).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-21 15:21:36 -05:00
Vantz Stockwell
d20493d533
feat: Complete NestJS backend scaffold — 22 modules, 39 entities, WebSocket gateway
...
Test Asgard Runner / test (push) Successful in 3s
Full backend rewrite from Rust/Axum to NestJS/TypeScript.
- 22 feature modules (auth, servers, wipes, maps, plugins, players, console,
chat, team, notifications, settings, schedules, analytics, alerts, status,
store, webstore, admin, setup, migration, users, licenses)
- 39 TypeORM entities matching PostgreSQL schema (12 migrations)
- Common infrastructure: JWT/RBAC guards, decorators, exception filter
- NATS service with pub/sub/request-reply
- Socket.IO WebSocket gateway with NATS bridge
- Docker: NestJS Dockerfile + updated docker-compose.yml
- Zero compile errors (npx tsc --noEmit clean)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-15 21:29:25 -05:00