Initial project scaffold: FastAPI backend + Svelte 5 frontend
Backend (uv): FastAPI app with routers (foods, log, targets, OFF proxy), SQLAlchemy models, Pydantic schemas, migration runner + 0001 initial schema, example pytest suite (7 tests). Frontend (npm): Vite 7 + Svelte 5 runes, lib/ (api, stores, scanner, format) per spec §7, placeholder components, example vitest suite (4 tests). SPEC.md §1: registered uvicorn and Vitest (rule §8.3.3).
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
[project]
|
||||
name = "calcount-backend"
|
||||
version = "0.1.0"
|
||||
description = "CalCount backend — FastAPI + SQLite + OpenFoodFacts proxy"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"fastapi>=0.115,<1.0",
|
||||
"httpx>=0.27",
|
||||
"pydantic>=2.7,<3",
|
||||
"sqlalchemy>=2.0,<2.1",
|
||||
"uvicorn>=0.30",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pytest>=8",
|
||||
]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
pythonpath = ["."]
|
||||
Reference in New Issue
Block a user