0eb2b0f697
- backend/db/schema.sql: all 12 tables from DATA-MODEL.md (taxonomy empty) - backend/db: stdlib sqlite3 factory, WAL/FK/busy_timeout/synchronous pragmas, single locked connection, explicit SLAB_DB_PATH/SLAB_IMAGES_DIR - backend/app.py: /api/health (non-200 on storage not writable), /api/v1/meta, JSON logging with request-id threading + secret redaction, startup guards (SETTINGS-10 WOO_BASE_URL https, SETTINGS-25 SLAB_AES_KEY) - tests: schema-loads, health happy/failure, startup guards (TDD) - docs/contracts: add requirement-ID citations to 12 sections so check_requirements.py passes (pre-existing gate debt) Gates: check_requirements.py + check_coverage.py exit 0; pytest 5 passed
7 lines
179 B
Plaintext
7 lines
179 B
Plaintext
# S0 backend requirements (pinned, no ORM)
|
|
fastapi==0.115.2
|
|
uvicorn[standard]==0.30.6
|
|
pytest==8.3.3
|
|
httpx==0.27.2
|
|
# stdlib only for sqlite3, logging, json, contextvars, threading
|