HealthHive
Archived2025

Overview
HealthHive is a full-stack web application that brings patients, doctors, and medical services together in a single platform. Patients can browse a medical product catalogue, upload prescriptions, book appointments, and track orders through their own dashboard — while doctors manage consultation requests and patient records through a separate, role-gated interface.
The backend enforces role-based access control at the middleware level using JWT authentication, with tokens stored as cookies. Doctor-only routes are protected by dedicated role-checking middleware, and all sensitive actions — cart operations, order history, profile management — require a valid session. The data layer is handled by MongoDB through Mongoose, served by a Node.js/Express API.
What I built
- Implemented role-based access control with JWT middleware, enforcing separate permission boundaries between patient and doctor routes
- Built an online pharmacy with a full product catalogue, cart, checkout, and real-time order status tracking
- Developed a prescription upload and validation flow integrated with health record and consultation history management
- Created a doctor appointment booking and scheduling system with profile management across both user roles