finds.dev

adrianhajdin/healthcare

Build a healthcare platform that streamlines patient registration, appointment scheduling, and medical records, and learn to implement complex forms and SMS notifications.

View on GitHubHomepage ↗

★ 2,687TypeScriptupdated Jul 2024

// the take

A YouTube tutorial project by JavaScript Mastery that walks through building a healthcare appointment scheduling app with Next.js, Appwrite, and Twilio. It covers patient registration with multi-step forms, admin appointment management, and SMS confirmations. This is learning material, not a production-ready system.

The form architecture is genuinely well-structured — a single CustomFormField component handles all field types (input, select, date picker, file upload, phone) through a discriminated union pattern, which is a good teaching example. Zod validation schemas are split by form context (create vs schedule vs cancel appointment) rather than one monolithic schema, which is the right call. The Appwrite integration is clean and abstracted behind server actions, keeping data fetching out of components. ShadCN + Tailwind composition is done properly with a cn() utility rather than string concatenation.

The admin passkey is stored as a plain base64 string in localStorage and checked client-side — anyone who opens devtools can bypass it. This is a tutorial, but it teaches a pattern that would be genuinely dangerous if copied into real code. There are no actual doctor accounts or authentication; the entire 'doctor' model is a hardcoded array of names and images, so the appointment-to-doctor relationship is a string match, not a foreign key. No tests exist at all — not for the validation schemas, not for the server actions. Last push was July 2024, so it's already accumulating Next.js/Appwrite version drift.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
2,687
Forks
755
Language
TypeScript
Last commit
22 Jul 2024

// nearby

If healthcare isn't quite it.

All repos →