Spaces:
Sleeping
Sleeping
Commit History
-
fix: load env at startup and add admin key with argon2
- Call loadEnv() during server startup instead of lazily - Add ADMIN_KEY to the config module - Add argon2 dependency for admin password hashingbd2e5f8
-
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
-
refactor: prepare server module for testing
- Guard server startup behind the START_SERVER environment flag - Export the request handler and server instance for test injection9e8da7a -
feat: add SQL query logger for database operations
- Log every SQL statement when DEBUG_SQL is enabled - Wrap db prepare, run, get, and all calls with a logging proxybb750d6 -
feat: fetch seed data from JSONPlaceholder API
- Replace hardcoded sample data with live data from JSONPlaceholder - Add fallback logging when the remote fetch fails4efee17
-
feat: scaffold HTTP REST API server with SQLite backend
- Set up the project with Node.js built-ins only (http, SQLite, Redis client) - Implement JSONPlaceholder-compatible CRUD endpoints for all six resources - Add in-memory and Redis-backed rate limiting - Add dotenv-based environment loading with example env files1a25764