Commit Graph

2 Commits

Author SHA1 Message Date
32dd6a3190 perf: 移除 tsconfig 中不必要的 declaration 和 declarationMap 降低 CI 内存占用
All checks were successful
CI/CD Pipeline / Code Quality (push) Successful in 25s
CI/CD Pipeline / Unit Tests (push) Successful in 20s
CI/CD Pipeline / Build & Deploy Test (push) Has been skipped
CI/CD Pipeline / Build & Deploy Production (push) Successful in 1m28s
API 服务器不需要生成 .d.ts 声明文件,这两个选项是 tsc 内存消耗的主要来源,
在内存受限的 CI runner 上会导致 OOM 被 SIGKILL。
2026-05-28 23:48:48 +08:00
f6e7be324e feat: initialize duoqi-api project skeleton
Set up Fastify + TypeScript + Drizzle ORM backend with:
- Database schema (7 tables: users, categories, questions, knowledge_cards, user_progress, skill_tree, user_chapter_progress)
- JWT auth middleware + admin token auth
- Route structure for auth, quiz, progress, gamification, payment, and admin
- Service stubs for Phase 1b implementation
- Zod-validated env config, custom error classes
2026-04-08 21:24:15 +08:00