safavimohadeseh78andCursor 2c5aa01a9a feat(db): add versioned SQLite migrations
Track applied schema changes in schema_migrations and run pending migrations on startup.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 10:20:27 +02:00

Child Gold Land — Nest API (primary backend)

NestJS API for Child Gold Land (primary backend since G2).

Legacy Fastify backend/ was removed in G4 (2026-08-01).

Requirements

  • Node.js 22+ (nvm use 22.12.0)

Configuration

Copy .env.example to .env or use the checked-in local .env (gitignored):

Variable Production cutover
PORT 3000
DB_PATH backend-nest/data/app.db
JWT_SECRET Same as legacy Fastify
CORS_ORIGIN http://localhost:5173

Development

npm run dev

Production

npm run build
npm run start

Tests

npm run type-check
npm run test:progression
npm run test:integration
S
Description
No description provided
Readme
375 KiB
Languages
TypeScript 100%