Files

746 B

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