Full-Stack · Healthcare PlatformNext.js · Express · MongoDB · Socket.ioLive Demo ↗

A full-stack healthcare ecosystem with five distinct user roles Patient, Doctor, Pharmacy Seller, Delivery Boy, and Admin bringing AI-optimised medicine discovery, live video consultations, OpenStreetMap tracking, subscription monetization, and governance into one unified platform. Built with Next.js, Express, MongoDB, and Socket.io.

MediFind — Find exactly what you need, right where you are

Client
MediFindSelf-initiated product
Year
2026Shipped & live
Role
EngineerFull-stack development
Stack
Next.js · ExpressMongoDB · Socket.io
Status
LiveActive users

Finding the right medicine shouldn't mean calling five pharmacies. Most patients either rely on a single pharmacy near them or waste time searching online with no real-time stock information. MediFind was built to close that gap.

MediFind is not a single-user product. It is a five-role ecosystem with an integrated Pro subscription system (pricing plans at ₹999/month and ₹833/yearly) for Sellers and Doctors. Each actor has their own dedicated dashboard, workflow, and set of responsibilities. A Patient searches and orders medicines, books doctor consultations with 15-minute slot intervals, makes payments, tracks deliveries in real time, and submits doctor reviews. A Doctor manages their weekly availability, accepts consultation bookings, conducts secure Jitsi video calls directly in the app, and writes digital health reports. A Pharmacy Seller lists medicines, manages their live inventory, processes incoming orders, tracks earnings, and views detailed sales analytics on their top products. A Delivery Boy receives real-time order pickup notifications, views customer drop-off details, and uses a live route map powered by OpenStreetMap for tracking. An Admin governs the entire platform — approving registrations, managing disputes, and monitoring operations and active plan subscribers.

I built every one of these roles independently — from the per-role authentication system and dashboards to the real-time Socket.io notification layer that connects all five actors. No role was an afterthought.

The Vision

One platform,
five roles, zero gaps.

Every healthcare interaction has multiple participants. Most apps solve for one of them — the patient — and leave the rest operating on WhatsApp groups and spreadsheets. MediFind was designed from the start to be the single source of truth for all five actors simultaneously.

Real-time inventory and AI-optimised fulfillment. If a medicine shows as in stock, it is in stock — pharmacy sellers update their catalogue live and stock changes propagate instantly. If a patient needs multiple medicines, an AI-powered fulfillment engine resolves generic names and applies a greedy set-cover algorithm to split orders optimally across the fewest, nearest pharmacies. When a patient orders, the pharmacy seller sees it immediately. When it ships, the delivery boy's queue updates. When it arrives, the patient gets a confirmation. Every transition is tracked. Nothing falls through.

The Product

Five roles,
one platform.

The Patient logs in and lands on a location-aware search. They type a medicine name, grant location, and see a live list of nearby verified pharmacies — each with stock count, price, distance, and license details. They can add to cart, review the order summary with GST breakdown, and check out. They can also browse the Consultation section, pick a doctor by specialisation, book a slot, and join a Jitsi video call at the scheduled time. After the call, a digital health report appears in their profile.

The Pharmacy Seller has a dedicated dashboard where they list medicines, set prices, and manage inventory. When an order comes in, a Socket.io notification fires instantly. They review the order, confirm it, and hand it to a delivery boy. Their earnings ledger updates with every fulfilled order. The Doctor sets weekly availability, receives booking notifications, and joins consultations through the built-in Jitsi room. Post-consultation, they fill a structured health report that is immediately visible to the patient. The Delivery Boy sees a queue of assigned orders, picks them up from the pharmacy, updates status to 'Picked up' and 'Delivered', and the patient's tracking view updates in real time. The Admin can view all registered users, approve or reject pharmacy and doctor applications, flag suspicious activity, and access platform-wide analytics — orders, revenue, active users, and disputes — from a single control panel.

MediFind — A complete ecosystem for smarter healthcare
Fig. 02 · Platform ecosystem overview · 2026
The Build

All 25 screens.

01Landing pageLocation-aware medicine search hero1440 × 768
02Platform overviewAI fulfillment · video consults · health reports1440 × 768
03Medicine search resultsCategory filters, price range slider and listing cards1440 × 768
04Medicine detailProduct details, seller distance, and fast shipping label1440 × 768
05AI fulfillment planGreedy set-cover prescription split across nearest sellers1440 × 768
06Patient cartCart items list, GST breakdown and subtotal check1440 × 768
07Doctor specialties searchSearch bar and specialization directory buttons1440 × 768
08Recommended nearby doctorsConsultation fee, experience and distance sorting list1440 × 768
09Psychiatrist listingDoctor search results filtering list by selected specialty1440 × 768
10Doctor profile & bookingProfessional summary, expertise and 15-minute slot selector1440 × 768
11My consultations panelTracking patient appointment history, bills, and ratings1440 × 768
12Medical report summaryDigital health report with document ID and observations1440 × 768
13Doctor rating modalInteractive 5-star rating and description review form1440 × 768
14Track delivery popupOrder tracking timeline with real-time status updates1440 × 768
15Delivery request promptSocket.io real-time pickup request modal for delivery agents1440 × 768
16Delivery route mappingOpenStreetMap integration for live navigation to dropoff location1440 × 768
17Seller orders panelSeller dashboard managing orders received and earnings ledger1440 × 768
18Seller analyticsMost selling products ranked by revenue and share of sales1440 × 768
19Doctor appointment detailConsultation details modal inside the doctor portal1440 × 768
20Doctor patient recordsDoctor portal viewing patient list, logs and diagnosis reports1440 × 768
21Doctor profile editDoctor portal updating professional details and consultation fees1440 × 768
22MediFind Pro pricingProfessional tier subscription plans with free trial limits1440 × 768
23Admin subscribers trackingAdmin panel showing active monthly and yearly subscription plans1440 × 768
24Admin doctor verificationsAdmin dashboard list for reviewing doctor credentials and applications1440 × 768
25Help & supportHelp center with live chat support and interactive FAQs1440 × 768
Architecture

Under the
hood.

MediFind is a full-stack healthcare platform built with Next.js on the client and Express on the server, with MongoDB as the database and Socket.io powering all real-time updates across five user roles — patient, doctor, pharmacy seller, delivery boy, and admin. No role shares a dashboard. Every actor has their own purpose-built surface.

Client
  • Next.js
  • TypeScript
  • Tailwind CSS
  • OpenStreetMap

Server-rendered React with five separate dashboard experiences — one per role. Incorporates OpenStreetMap for live route mapping, Jitsi Iframe API for secure video consultations, and GSAP/CSS animations.

API
  • Express.js
  • Node.js
  • JWT Auth
  • Greedy Set-Cover

RESTful Express API with role-based access control. Implements RAG-powered generic name mapping and a Greedy Set-Cover algorithm to split orders optimally across sellers.

Data & Real-Time
  • MongoDB
  • Socket.io
  • Jitsi

MongoDB stores users, medicines, bookings, and subscription plan states. Socket.io broadcasts order events and delivery updates instantly, while Jitsi handles encrypted video rooms.

Notifications
  • Socket.io Events
  • In-App Alerts

Every key action — new order placed, order picked up, delivery confirmed, consultation booked — fires a Socket.io event that updates the relevant dashboard instantly. No polling, no refresh.

5User rolespatient · doctor · seller · delivery · admin
25Screensshipped to production
0sDelayreal-time Socket.io events
1Engineerfront end to back end
Outcome

What it is,
in numbers.

5User roleseach with their own dashboard
25Surfacesshipped and in use
0Pollingall updates via Socket.io
1Engineerevery layer built solo
Colophon

Built by one engineer.

Engineering
Muhammed Safvan
Full stack · FE, API, DB, real-time
About M.S

Muhammed Safvan is a full-stack web engineer who builds products end to end: interfaces in Next.js and React, APIs in Express and Node, real-time layers in Socket.io, and MongoDB databases that keep five distinct user roles in sync.

MediFind is a self-initiated product built to solve a real problem in healthcare access — one platform connecting patients, doctors, pharmacy sellers, delivery boys, and administrators without a single spreadsheet. Currently open to full-time roles and freelance builds.