From b00b5ef4b8716001c5663e01b5868545fc3c355f Mon Sep 17 00:00:00 2001 From: Backend Developer Date: Tue, 10 Mar 2026 09:41:04 +0000 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E7=AB=AF:=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=90=8E=E7=AB=AFREADME?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/README.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/backend/README.md b/backend/README.md index 79c6cb2..d419c39 100644 --- a/backend/README.md +++ b/backend/README.md @@ -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 - 健康检查