Healthcare
Clinic appointment scheduler
Patients find a doctor, see open times and book, change or cancel appointments; clinic staff see the day's schedule at a glance.

01 Problem
Small clinics still book by phone, which means double bookings and no view of a provider's real availability.
02 Approach
- Next.js App Router with server actions over a PostgreSQL schema managed by Drizzle, falling back to an embedded PGlite database for the demo.
- Availability is computed from provider schedules and existing bookings, with conflicts prevented in the database rather than only in the UI.
- Appointments and providers are also exposed as FHIR R4 resources, and an optional AI intake helper drafts a reason-for-visit note for the patient to edit.
03 Evidence
- Unit and component tests with Vitest
- Browser tests with Playwright, run in CI
- FHIR R4 Appointment and Practitioner endpoints
The repository README explains how to run each test suite, and its continuous integration history is public.