后端: 添加后端README
This commit is contained in:
parent
7eb6d851de
commit
b00b5ef4b8
@ -1,20 +1,24 @@
|
||||
# CloudDisk Backend
|
||||
|
||||
## 开发指南
|
||||
## 开发
|
||||
|
||||
### 安装
|
||||
```bash
|
||||
npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
### 启动
|
||||
## 测试
|
||||
|
||||
```bash
|
||||
npm start
|
||||
npm test
|
||||
```
|
||||
|
||||
### API 端点
|
||||
- POST /api/auth/login
|
||||
- POST /api/auth/register
|
||||
- GET /api/files
|
||||
- POST /api/files/upload
|
||||
- DELETE /api/files/:id
|
||||
## API列表
|
||||
|
||||
- /api/auth - 认证
|
||||
- /api/files - 文件管理
|
||||
- /api/share - 分享
|
||||
- /api/search - 搜索
|
||||
- /api/trash - 回收站
|
||||
- /api/stats - 统计
|
||||
- /api/health - 健康检查
|
||||
|
||||
Loading…
Reference in New Issue
Block a user