init:测试

This commit is contained in:
张鑫
2025-10-28 14:36:59 +08:00
parent 3beef97888
commit 7691f52f15
11 changed files with 1636 additions and 0 deletions

19
pyproject.toml Normal file
View File

@@ -0,0 +1,19 @@
[project]
name = "fastapi-demo"
version = "0.1.0"
description = "一个使用uv管理的FastAPI示例应用"
requires-python = ">=3.8"
dependencies = [
"fastapi>=0.104.1",
"uvicorn[standard]>=0.24.0",
"pydantic>=2.5.0",
]
[project.scripts]
start = "uvicorn app.main:app --reload --host 0.0.0.0 --port 8000"
[tool.uv]
dev-dependencies = [
"pytest>=7.0.0",
"httpx>=0.25.0",
]