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