update
This commit is contained in:
25
.roo/rules/01-general.md
Normal file
25
.roo/rules/01-general.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# 基础规范
|
||||
|
||||
## 项目结构
|
||||
|
||||
```
|
||||
src/
|
||||
├── client/ # 前端代码 (React + Vite)
|
||||
├── server/ # 后端代码 (Hono + TypeORM)
|
||||
│ ├── api/ # API路由
|
||||
│ ├── migrations/ # 数据库迁移脚本
|
||||
│ ├── modules/ # 业务模块
|
||||
│ └── middleware/ # 中间件
|
||||
```
|
||||
|
||||
## 技术栈
|
||||
|
||||
### 前端
|
||||
- React 18
|
||||
- TypeScript (严格模式)
|
||||
- Vite 构建工具
|
||||
|
||||
### 后端
|
||||
- Hono 框架
|
||||
- TypeORM (mysql)
|
||||
- Redis (缓存/会话管理)
|
||||
Reference in New Issue
Block a user