feat: initialize Evergreen Health backend

This commit is contained in:
fuenmao
2026-09-21 14:08:22 +08:00
commit 8553df5dd2
493 changed files with 75649 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# Evergreen Health Backend
常青树健康管理系统后台接口,基于 .NET 8、Admin.NET、SqlSugar 和 MySQL。
## 本地启动
1. 复制 `Evergreen.Health.Api/Configuration/Database.local.example.json` 为 `Database.local.json`。
2. 修改 `Database.local.json` 中的 MySQL 连接字符串。该文件已被 Git 忽略,不会提交密码。
3. 执行 `dotnet restore Evergreen.Health.sln`。
4. 执行 `dotnet run --project Evergreen.Health.Api/Evergreen.Health.Api.csproj`。
## 健康业务接口
- `POST /api/health/auth/register` 用户注册
- `POST /api/health/auth/login` 用户登录
- `GET /api/health/dashboard` 健康首页
- `PUT /api/health/profile` 更新个人健康档案
- `PUT /api/health/modules` 选择健康板块
- `POST /api/health/plans/generate` 生成个性化健康参数
接口文档以应用启动后生成的 OpenAPI/Scalar 页面为准。