Add initial web editor app, CLI scripts, and test scaffolding.

This introduces the FastAPI editor implementation and related project setup so the app can be run and validated locally.

Made-with: Cursor
This commit is contained in:
2026-04-11 02:14:26 +12:00
parent fb5f55cda7
commit f9bf119af6
33 changed files with 4846 additions and 0 deletions

26
Pipfile Normal file
View File

@@ -0,0 +1,26 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[dev-packages]
pytest = "*"
pytest-cov = "*"
httpx = "*"
pylint = "*"
jedi = "*"
[packages]
fastapi = "*"
uvicorn = "*"
websockets = "*"
pillow = "*"
startspimage = "*"
[requires]
python_version = "3.11"
[scripts]
dev = "uvicorn app:app --app-dir src --reload --port 8080"
test = "bash -lc 'cd src && PYTHONPATH=. pytest ../tests'"
test-cov = "bash -lc 'cd src && PYTHONPATH=. pytest ../tests --cov=editor_app --cov=app --cov-report=term-missing --cov-fail-under=95'"