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
9
backend/secrets.toml.example
Normal file
9
backend/secrets.toml.example
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Copy to secrets.toml and fill in real values. secrets.toml is git-ignored.
|
||||
|
||||
[anthropic]
|
||||
api_key = "sk-ant-..." # Haiku API key, server-side only, never sent to the client
|
||||
|
||||
[server]
|
||||
host = "0.0.0.0"
|
||||
port = 8000
|
||||
log_level = "INFO" # DEBUG | INFO | WARN | ERROR
|
||||
Loading…
Add table
Add a link
Reference in a new issue