Spaces:
Sleeping
Sleeping
Commit History
-
refactor: rewrite rate-limiter with circuit breaker and CIDR support
- Add three-tier fallback: Redis Lua, in-memory LRU, and allow-all - Implement a circuit breaker with escalating block durations - Support CIDR-based trusted proxy extraction7b6e647
-
refactor: reorganize src into feature subdirectories
- Group config, db, middleware, redis, and server code into subfolders - Update all require paths across the codebase1f0f638 -
test: add server unit tests and restructure test suite
- Add unit tests for the HTTP request handler and route parsing - Organize test files by module directory62e3094
-
test: migrate to vitest with integration tests and CI workflow
- Replace the ad-hoc node test runner with vitest - Add an integration suite covering all API endpoints against a real server - Add helpers to start and stop an isolated server and seed a temp database - Add a GitHub Actions workflow running tests on Node 22, 24, and 26 with coverage75a60d6