Spaces:
Sleeping
Sleeping
Commit History
-
test: migrate test imports to CJS _require for V8 coverage
- Route dynamic imports through the CJS cache helper - Ensure V8 coverage is tracked for CommonJS modules9c74555
-
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: add unit tests for core modules
- Cover config, load-env, database, migrate, seed, redis, and rate-limiter - Re-import modules with different environment values to hit each branch25059bd
-
refactor: add v8 ignore annotations and export printLog for tests
- Annotate CLI-only and environment-loading code paths for V8 coverage - Remove the legacy tests/test.js runner replaced by vitest - Export printLog from the server module for coverage testsf19b08d -
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
-
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