feat: initialize mini api skeleton

This commit is contained in:
2026-03-09 13:13:41 +08:00
commit c6465480a9
38 changed files with 1038 additions and 0 deletions

33
README.md Normal file
View File

@@ -0,0 +1,33 @@
# TakeoutSaaS.C-Side-Mini-Program-API
本仓库承载 `TakeoutSaaS.MiniApi`,面向 C 端微信小程序,路由前缀为 `/api/mini/v1`
## 子模块
- `TakeoutSaaS.BuildingBlocks/`:共享基础组件
- `TakeoutSaaS.Docs/`:文档、部署资料与脚本
## 初始化
```bash
git submodule update --init --recursive
dotnet restore
dotnet build TakeoutSaaS.sln
```
## 运行
```bash
dotnet run --project src/Api/TakeoutSaaS.MiniApi/TakeoutSaaS.MiniApi.csproj
```
默认开发地址:
- `http://localhost:2683`
- Swagger`http://localhost:2683/api/docs`
- 健康检查:`http://localhost:2683/healthz`
## 文档入口
- `TakeoutSaaS.Docs/README.md`
- `TakeoutSaaS.Docs/Document/README.md`