duoqi-api/dev-spec.md
Wang Zhuoxuan 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

14 lines
396 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# duoqi-api 开发规格
> 多奇服务端 API — 工程实施指南
> 本文档为 duoqi-api 库的自包含开发参考。完整规格见 [docs/specs 版本](../docs/specs/duoqi-api/dev-spec.md)。
---
**注意**:本文件是 `docs/specs/duoqi-api/dev-spec.md` 的符号副本。开发时以 docs/specs 版本为准。
---
*创建日期2026-04-04*
*状态Phase 1 待启动开发*