Healthcare Management Platform
Health Direct
Multi-role healthcare platform with isolated dashboards for patients, doctors, clinics and admins, plus a structured medical records module.
Overview
What the product does
A healthcare management platform where patients, doctors, clinics and admins each work in an isolated dashboard, with scheduling, real-time chat, video consultations and a structured medical records module.
Problem
The problem it solves
Four user types share one platform but need different views and permissions, while chat and scheduling have to stay responsive during live consultations.
My role
What I contributed
Full-stack work on the records module, shared data-fetching layer, real-time chat performance and the scheduling experience.
Solution
How the system was designed
A Next.js and TypeScript frontend over a Node and Express API with MongoDB. Data fetching is standardised through reusable hooks on Axios and TanStack React Query, records are validated with Zod, FullCalendar drives scheduling, and Agora handles in-call video.
Architecture
System architecture
Key features
What it does in practice
Separate dashboards for patients, doctors, clinics and admins, with a structured medical records module validated using Zod.
Reusable hooks built on Axios and TanStack React Query, standardising caching, loading and error handling across the app.
FullCalendar scheduling with drag-and-drop slot management for clinic and doctor availability.
A sidebar for accessing patient records during video sessions, so notes stay in reach without leaving the call.
HTTP-only cookie sessions with Next.js middleware protecting routes at the edge of the app.
Challenges
The interesting engineering problems
Technology
The stack behind it
- Next.jsReact Framework
- TypeScriptType Safety
- Node.jsBackend Runtime
- Express.jsHTTP Framework
- MongoDBDocument Database
- Socket.ioRealtime Transport
- Agora RTCRealtime Audio & Video
- FullCalendarScheduling UI
- TanStack QueryServer State
- ZodSchema Validation