feat: add WonderQ admin backend

Add FastAPI admin/public API service, database setup, Docker deployment files, docs, and tests.
This commit is contained in:
duanshuwen
2026-06-30 13:56:45 +08:00
parent 90496fd300
commit 75f5a5a48b
34 changed files with 2208 additions and 25 deletions

26
pyproject.toml Normal file
View File

@@ -0,0 +1,26 @@
[project]
name = "wonderq-admin"
version = "0.1.0"
description = "WonderQ Admin API service"
requires-python = ">=3.12,<3.15"
dependencies = [
"fastapi>=0.115,<0.116",
"uvicorn[standard]>=0.32,<0.33",
"SQLAlchemy>=2.0,<2.1",
"alembic>=1.14,<1.15",
"psycopg[binary]>=3.2,<3.3",
"pydantic-settings>=2.6,<2.7",
"PyJWT>=2.10,<2.11",
"bcrypt>=4.2,<4.3",
"email-validator>=2.2,<2.3",
]
[project.optional-dependencies]
test = [
"pytest>=8.3,<8.4",
"httpx>=0.27,<0.28",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]