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: seed environment settings and extract SETTING_DEFS
- Move environment settings into a shared config definition - Persist environment-backed settings into the settings table at seed time7f0d072
-
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: 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