chore(devops): project skeleton — uv, docker compose, Makefile, CI
CI / ruff · pytest (pull_request) Successful in 1m50s

One Postgres with isolated identity/clinical databases and roles (ADR-003),
FastAPI /health, Streamlit placeholder, typed settings with offline defaults.

Refs #1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-03 14:46:01 +03:00
co-authored by Claude Opus 5.5
parent cf2cc8b5f4
commit 107b8dba51
32 changed files with 2252 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
"""Doctor dashboard and demo console (Streamlit). Talks to the backend only via the API."""
import os
import httpx
import streamlit as st
API = os.environ.get("API_BASE_URL", "http://localhost:8000")
st.set_page_config(page_title="PTSRaiAgent — кабинет врача", page_icon="🩺", layout="wide")
st.title("Кабинет врача")
st.caption("Прототип на синтетических данных")
try:
status = httpx.get(f"{API}/health", timeout=2).json().get("status")
except httpx.HTTPError:
status = "недоступен"
st.write(f"API: **{status}**")