dorfteich/apps
Claude Fable 5 31f23c12a2 Add DB-backed rate limiting with guard and decorator
RateLimitService implements fixed-window counters as one atomic
PostgreSQL upsert (race-safe under concurrency, proven by test), with
opportunistic sweeping of expired windows and an explicit reset for
successful-login scenarios. The global RateLimitGuard applies
@RateLimit({scope, limit, windowSeconds}) per client IP and answers
429 with Retry-After; main.ts trusts the single Caddy hop so req.ip
is the real client.

Closes #11

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 00:43:54 +02:00
..
api Add DB-backed rate limiting with guard and decorator 2026-07-05 00:43:54 +02:00
collab Scaffold pnpm monorepo with lint, format, and test tooling 2026-07-04 19:06:27 +02:00
web Keep Playwright specs out of Vitest collection 2026-07-05 00:28:28 +02:00