RDV-MAROC
Centralizing Morocco's fragmented healthcare booking into a single, real-time platform.

The Problem
Healthcare appointment booking in Morocco is fragmented across phone calls, in-person visits, and informal WhatsApp groups. Patients waste hours trying to find available doctors, and practices lose potential patients because their availability isn't visible online. There's no centralized system — each doctor or clinic manages their own scheduling independently, creating a chaotic experience for patients trying to find care.
The Approach
I built RDV-MAROC as a full MERN stack SaaS that serves both patients and healthcare providers. The platform features real-time availability tracking powered by Socket.io — when a doctor updates their schedule or a patient books a slot, all connected clients see the change instantly. The system includes a patient-facing booking interface, a doctor-side practice management dashboard, secure patient records storage, and an automated notification system for appointment reminders and confirmations.
Key Design Decisions
Real-Time Updates with Socket.io
Healthcare booking has a critical race condition problem — two patients might try to book the same slot simultaneously. I implemented Socket.io-based real-time synchronization so availability updates propagate instantly to all connected clients. When a slot is booked, every other user viewing that doctor's schedule sees it disappear in real-time, eliminating double-bookings without requiring page refreshes.
Dual-Interface Architecture
Patients and doctors have fundamentally different needs. Rather than forcing a single interface to serve both, I built two distinct UI experiences sharing the same backend. The patient interface prioritizes search, discovery, and frictionless booking. The doctor interface prioritizes schedule management, patient records, and practice analytics. Same data, optimized presentation.
Progressive Trust Building
Healthcare involves sensitive personal data. I designed the onboarding flow to request minimal information upfront (just name and phone number for first booking) and progressively ask for more details as the patient builds trust with the platform. This reduces sign-up abandonment while still collecting the data doctors need for proper patient management.
The Results
RDV-MAROC is live at rdvmaroc.com and serves as a working proof-of-concept for centralized healthcare booking in Morocco. The real-time booking system eliminates double-booking issues, and the dual-interface approach ensures both patients and doctors have optimized experiences for their specific workflows.