Back
KetCon Directory

KetCon Directory

Full-stack directory and referral platform for ketamine-assisted therapy — licence verification against official registries, AI matching and real-time messaging.

A production directory and referral platform for ketamine-assisted therapy, connecting prescribing doctors with therapists so they can form the collaborative care teams the treatment model requires. Built and operated solo as a pnpm monorepo: React 19 with React Router 7 and Tailwind 4 on Vite, an Express 5 + Prisma API on PostgreSQL, full-text search over a Postgres tsvector column, JWT auth with email verification, and a Sharp image pipeline behind cropped avatar and banner uploads. Live at ketcon.us.

The substance of the product is its trust layer — a pluggable licence-verification pipeline that grades each practitioner across three levels by confirming their NPI in the national provider registry, screening them against the OIG federal exclusion list, and matching state licence numbers against scraped board rosters for six states, keeping a per-provider audit trail on every record. Around that sit an OpenRouter-scored matching engine with cached, explained pairings, AI profile extraction from a practitioner's existing web presence, real-time messaging and cooperation proposals over SSE, Web Push, and an installable PWA.

Delivery is automated end to end: a GitLab pipeline builds both images into the project registry, deploys staging and production independently, and cuts semver releases and a changelog from conventional commits. Marketing pages and individual profiles get their meta tags and JSON-LD injected into the SPA shell server-side for search and answer engines, and Playwright covers the critical flows against a real database and mail server.