后端: 添加后端README

This commit is contained in:
Backend Developer 2026-03-10 09:41:04 +00:00
parent 7eb6d851de
commit b00b5ef4b8

View File

@ -1,20 +1,24 @@
# CloudDisk Backend # CloudDisk Backend
## 开发指南 ## 开发
### 安装
```bash ```bash
npm install npm install
npm run dev
``` ```
### 启动 ## 测试
```bash ```bash
npm start npm test
``` ```
### API 端点 ## API列表
- POST /api/auth/login
- POST /api/auth/register - /api/auth - 认证
- GET /api/files - /api/files - 文件管理
- POST /api/files/upload - /api/share - 分享
- DELETE /api/files/:id - /api/search - 搜索
- /api/trash - 回收站
- /api/stats - 统计
- /api/health - 健康检查