3 Commits

Author SHA1 Message Date
richarjiang
46368b8c89 feat(wechat-game): add level list API endpoints
Add CRUD endpoints for game levels with level field in response:
- GET /v1/wechat-game/levels - list all levels ordered by sort_order
- GET /v1/wechat-game/levels/:id - get single level by ID

New files:
- Level entity mapping to levels table
- LevelRepository with ordered query support
- LevelResponseDto with level field (1-based index from sort_order)
2026-03-15 15:52:51 +08:00
richarjiang
ed1b5455a2 chore: add deployment configuration for PM2 and production environment
- Add deploy.sh script for automated deployment via rsync
- Add ecosystem.config.js for PM2 process management (2 instances)
- Add .env.production.example as production env template
- Update config.module.ts to support .env.production file
- Add 'pnpm run deploy' script to package.json
2026-03-15 14:27:48 +08:00
richarjiang
6413d4f34c init 2026-03-15 11:35:39 +08:00