Spaces:
Sleeping
Sleeping
Commit History
-
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
-
refactor: extract migrate and seed into standalone scripts
- Move schema creation into a reusable db/migrate script - Split data seeding into a separate db/seed script - Remove implicit migration from server startup96a886b -
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