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>
17 lines
384 B
Markdown
17 lines
384 B
Markdown
# 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.
|