Next.jsReactTypeScriptSupabasePostgreSQLpgvectorTailwindshadcn/uiClaude API
what i did
Designing a patient-owned record that turns every consultation, order, and result into a node in a navigable care graph, each backed by its scanned document.
Settled the architecture across six decision records before writing code: a DAG rendered as a tree, Postgres over a graph database, a retrieval-only AI assistant.
Wrote the Postgres schema first — tables, invariant triggers, and row-level security on every table.
Currently pre-implementation: the specs and schema are in place, and the build starts from there.