Commit Graph
2 Commits
Author SHA1 Message Date
hughhuangandClaude Opus 4.5 b8791ee556 完善后端核心框架
- 添加错误处理中间件 (error-handler.ts)
- 添加请求日志中间件 (request-logger.ts)
- 添加健康检查路由 (health.ts)
- 更新 app.ts 集成中间件和数据库连接
- 添加优雅关闭时断开数据库连接

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 23:46:59 +08:00
hughhuangandClaude Sonnet 4.5 830a17bf46 初始化项目结构和基础模块
完成内容:
- 创建前后端项目目录结构
- 初始化 Node.js + TypeScript 后端项目 (Fastify)
- 初始化 Vue 3 + TypeScript 前端项目 (Vite)
- 配置 Prisma ORM 和 MySQL 数据库
- 创建数据库 Schema 和种子数据
- 实现后端基础模块 (配置、日志、错误处理、验证)
- 创建基础服务类 (BaseService)
- 配置 Git 仓库和忽略文件

技术栈:
- 后端:Fastify + Prisma + MySQL + Winston
- 前端:Vue 3 + TypeScript + Element Plus + Pinia

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-03 12:11:57 +08:00