在准备环境前提交次全部更改。

This commit is contained in:
Neo
2026-02-19 08:35:13 +08:00
parent ded6dfb9d8
commit 4eac07da47
1387 changed files with 6107191 additions and 33002 deletions

View File

@@ -4,7 +4,7 @@
## 内部结构
`
```
apps/backend/
├── app/
│ ├── main.py # FastAPI 入口,启用 OpenAPI 文档
@@ -16,21 +16,22 @@ apps/backend/
├── tests/ # 后端测试
├── pyproject.toml # 依赖声明
└── README.md
`
```
## 启动
`ash
```bash
# 确保已在根目录执行 uv sync --all-packages
cd apps/backend
uvicorn app.main:app --reload
`
uv run uvicorn app.main:app --host 127.0.0.1 --port 8000 --reload
```
API 文档自动生成于 http://localhost:8000/docs
## 依赖
- fastapi>=0.100, uvicorn>=0.23
- psycopg2-binary>=2.9.0
- fastapi>=0.115, uvicorn[standard]>=0.34
- psycopg2-binary>=2.9, python-dotenv>=1.0
- neozqyy-sharedworkspace 引用)
## Roadmap