DocBook

Project Overview
DocBook is a comprehensive, multi-tenant doctor appointment platform offering unified scheduling, communication, and management tools for patients, doctors, clinic admins, and a super admin.
Led end-to-end architecture, development, deployment, and infrastructure automation across the MERN stack, Redis, Docker, and AWS.
Tech Stack
Core Architecture & Platform Services
Foundational services that deliver secure, scalable, and resilient operations for all tenants and user roles.
Asynchronous Notification & Job Queue
Redis-backed queues decouple transactional emails (ZeptoMail), SMS (Twilio), and reminder workflows to maintain fast user response times.
Authentication & Role-Based Access Control
JWT-powered authentication with granular RBAC strictly governs how Patients, Doctors, Clinic Admins, and the Super Admin access the system.
Configurable Rate Limiter
Dynamic throttling protects OTP generation, login attempts, and provider searches with IP-based blocking for abusive traffic.
Containerized AWS Deployment
Dockerized services run on AWS with S3 for static assets and ECS for scalable Node.js workloads, ensuring consistent environments.
Core Business Logic & Management Engine
Scheduling intelligence and tenant-aware management deliver reliable booking flows for every clinic and practitioner.
Atomic Booking & Schedule Engine
MongoDB transactions and Redis-based locking generate real-time availability while preventing double-bookings under high concurrency.
Multi-Tenant Clinic Architecture
Clinic-level isolation lets Super Admins onboard clinics while restricting Clinic Admins to their assigned doctors, patients, and appointments.
Transaction & Audit Log Engine
Immutable action logs capture bookings, cancellations, credential updates, and auth events for platform-wide compliance and forensics.
Role-Based Experience Suites
Purpose-built interfaces tailored to the daily workflows of each user segment.
Patient Module
Guides patients from discovery to confirmation with transparent schedules and automated reminders.
- Doctor search by specialty, name, or location with profile deep dives
- Real-time slot selection, booking, rescheduling, and cancellation
- Unified dashboard for upcoming visits and appointment history
Doctor Module
Empowers practitioners to manage their schedules and patient interactions seamlessly.
- Recurring availability setup with custom slot durations and break management
- Holiday and blackout date controls with one-click overrides
- Daily, weekly, and monthly appointment calendars with patient context
Clinic Admin Module
Gives clinic operations teams full visibility and control across doctors and patients in their clinic.
- Approve doctor profiles and adjust schedules on behalf of providers
- Manage patient records with over-the-phone booking workflows
- Reschedule or cancel appointments to support front-desk operations
Super Admin Module
Centralized governance for onboarding clinics, configuring the platform, and auditing activity.
- Global user management across patients, doctors, and admins
- System configuration for specialties, notification templates, and platform defaults
- Analytics dashboards tracking bookings, registrations, and clinic performance