50b38de488
- Add ScheduleItem Pydantic schemas with metadata support - Add repository layer with CRUD operations - Add service layer with authorization - Add FastAPI router with all endpoints - Add unit and integration tests - Update API documentation
49 lines
1000 B
TOML
49 lines
1000 B
TOML
[project]
|
|
name = "social-app"
|
|
version = "0.1.0"
|
|
description = "Social application backend"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"alembic>=1.18.3",
|
|
"asyncpg>=0.31.0",
|
|
"basedpyright>=1.37.2",
|
|
"celery>=5.6.2",
|
|
"email-validator>=2.3.0",
|
|
"fastapi>=0.128.0",
|
|
"pydantic>=2.11.0",
|
|
"pydantic-settings>=2.10.0",
|
|
"pyjwt>=2.10.1",
|
|
"redis>=7.1.0",
|
|
"sqlalchemy[asyncio]>=2.0.46",
|
|
"structlog>=24.4.0",
|
|
"supabase>=2.27.2",
|
|
"uvicorn[standard]>=0.40.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"httpx>=0.28.0",
|
|
"playwright>=1.49.0",
|
|
"pytest>=8.3.0",
|
|
"pytest-asyncio>=0.24.0",
|
|
"pytest-cov>=5.0.0",
|
|
]
|
|
|
|
[[tool.uv.index]]
|
|
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
|
|
default = true
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["backend/tests"]
|
|
addopts = "-q"
|
|
asyncio_mode = "auto"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"aiosqlite>=0.22.1",
|
|
"pre-commit>=4.5.1",
|
|
"pytest>=9.0.2",
|
|
"pytest-asyncio>=1.3.0",
|
|
"pytest-cov>=7.0.0",
|
|
]
|