← Back to projects

MedDesk - HIPAA-Compliant Healthcare CRM

Healthcare SaaS

A full multi-tenant CRM replacing spreadsheets for independent medical practices

MedDesk - HIPAA-Compliant Healthcare CRM
View live site →GitHub →
8 DB tablesMulti-tenantHIPAA-compliantAI insightsTamper-proof audit logUnlimited practices supported
the problem

Independent medical practices in the $300K to $700K revenue range run their operations on spreadsheets and disconnected tools. No real-time financial visibility, no staff accountability system, patient intake still on paper, and KPIs living in someone's personal Excel file. Practices lose money silently and compliance is an afterthought.

the approach

A full HIPAA-compliant multi-tenant CRM that replaces all of that. One system, every practice, zero spreadsheets. Built on Next.js and Supabase with row-level security enforced at the database level.

how it works
  1. 01Each practice is a separate organization in the database with its own org_id, zero data leakage between clients
  2. 02Row Level Security is enforced at the Postgres level via Supabase, unauthorized queries are rejected at the database itself
  3. 03A Postgres audit trigger fires on every INSERT, UPDATE, and DELETE on patient tables, recording who did what, when, and what the data looked like before and after
the result
technical highlights
stack
Next.jsSupabaseTailwindOpenAIVercel