Spaces:
Sleeping
Sleeping
Commit History
-
feat: add runtime configuration for rate limiting and Redis
- Update rate-limit and Redis settings via the admin API without restarting - Apply changes immediately through in-memory overridese9d5bbe -
refactor: extract routes into separate module with favicon support
- Move route parsing and request dispatch into server/route.js - Add favicon and API attribution handling - Require /api prefix and strip trailing slashes when parsing routes - Emit compact JSON responses to reduce payload size - Update and extend tests for the new route handlingad871c9
-
feat: require confirm body for reset-database and extract mock factory
- Guard the reset-database admin endpoint behind a confirmation body - Extract a mock factory to simplify test configuration7db7c77
-
feat: add admin routes with argon2 auth
- Add admin endpoints for runtime configuration and database reset - Hash and verify admin keys with argon2 using a 5s cached LRU - Polish the API documentation2e6d0d7
-
feat: add pagination, search, and sorting to list endpoints
- Support _page, _limit, _start, and _end pagination parameters - Add q text search across resources - Add _sort and _order on all listable resourceseab7289
-
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