Scaffold backend (FastAPI/uv) and frontend (SvelteKit/bun)
Backend: FastAPI app with health check, AppError hierarchy, stderr logging via LOG_LEVEL, ruff+pyright(strict) config, pytest passing. Frontend: SvelteKit (TS) with prettier, eslint, vitest (unit + component), adapter-node for self-hosted deployment on Zeus. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
06df9df339
commit
e5b4f54cd8
33 changed files with 517 additions and 4 deletions
17
backend/README.md
Normal file
17
backend/README.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# sagaphone-backend
|
||||
|
||||
FastAPI backend for Sagaphone: generates the family tree, calls the Haiku API
|
||||
for narration, streams Piper TTS audio to the frontend.
|
||||
|
||||
## Dev
|
||||
|
||||
```bash
|
||||
uv sync
|
||||
uv run uvicorn app.main:app --reload
|
||||
uv run pytest
|
||||
uv run ruff check .
|
||||
uv run pyright
|
||||
```
|
||||
|
||||
See `secrets.toml.example` for required config — copy to `secrets.toml`
|
||||
(git-ignored) and fill in real values.
|
||||
Loading…
Add table
Add a link
Reference in a new issue