Initialize uv-managed FastAPI backend

This commit is contained in:
2026-09-15 19:00:10 +08:00
commit fd30c83152
8 changed files with 482 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
[project]
name = "entroia-backend-server"
version = "0.1.0"
description = "Python backend for the Entroia React SDK"
readme = "README.md"
requires-python = ">=3.12"
dependencies = ["fastapi>=0.115,<1", "uvicorn>=0.30,<1"]
[dependency-groups]
dev = ["httpx>=0.27,<1", "pytest>=8,<10", "ruff>=0.9,<1"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/backend_server"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
target-version = "py312"