MedPal | NestJS, MongoDB, Socket.io, AI Integration
A full-featured healthcare management platform connecting patients and doctors, built as my graduation project using NestJS and MongoDB.
Key features I built:
Role-based system with separate flows for Patients, Doctors, and a Super Admin dashboard
Doctor-patient connection flow — patients send requests to doctors, doctors accept/reject and manage their patient list
AI-powered medication assistant — integrated with Groq AI to automatically identify medication details and answer patient questions through a chatbot with conversation history
Smart medication reminders — automated scheduling system (using cron jobs) that tracks medication logs, repeat intervals, and reminder times, with image upload support for prescriptions via cloud storage
Real-time chat and video calls — built with Socket.io and WebRTC, including live messaging, call initiation, and call history between patients and doctors
SOS emergency alerts — patients can send urgent health updates directly to their assigned doctor with severity levels
Health reports and chronic disease tracking — doctors can monitor patient status (stable / under control / critical) and medication history
Admin dashboard — analytics on user growth, verification of doctor accounts, user management, and department-level reporting
Tech stack: NestJS, TypeScript, MongoDB (Mongoose), Socket.io, WebRTC, Groq AI SDK, Cron Jobs, Cloud image storage, JWT Authentication & Role-Based Access Control.
This project pushed me to work with real-time communication, background job scheduling, and AI integration — not just standard CRUD operations — which gave me practical experience building production-style backend architecture.