A full-featured hospital management web application where users can book doctor appointments, make payments, cancel appointments, and manage their profiles. The system includes secure JWT authentication and role-based dashboards for Admins and Doctors. This project is built using the MERN stack (MongoDB, Express.js, React, Node.js) and supports full CRUD operations across all modules.
The Hospital Management System allows users to seamlessly:
- Book doctor appointments
- Make secure payments
- Cancel or manage bookings
- Update personal profiles
Admins and doctors have access to separate dashboards for managing patients, appointments, availability, and more. The application includes JWT-based authentication, real-time appointment tracking, and a clean responsive UI optimized for all devices.
- Secure user authentication using JWT (JSON Web Tokens)
- Role-based access control (Patient, Doctor, Admin)
- Browse available doctors with details and schedule
- Choose time slots and submit appointment requests
- Integrated payment during booking
- Secure online payment for appointments
- Payment history is visible in the user dashboard
- Patients can view upcoming and past appointments
- Option to cancel appointments before the scheduled time
- Doctors can approve or reject appointments
- Manage all users, doctors, and appointments
- Add, edit, or remove doctor profiles
- Full CRUD operations for doctors and appointments
- View assigned appointments
- Manage availability and patient appointment statuses
- All users can update their profile info including name, image, and contact details
- 🔐 JWT Authentication (Login/Register)
- 👤 User Profile Management
- 🩺 Doctor Appointment Booking
- 💳 Payment Gateway Integration
- ❌ Cancel Appointments
- 📊 Admin Dashboard
- Manage Users
- Manage Doctors
- View All Appointments
- 🩻 Doctor Dashboard
- View Appointment List
- Manage Availability
- 🔁 Full CRUD Operations
- 📱 Responsive Design (Mobile + Desktop)
- Frontend: React, React Router, Axios, Tailwind CSS / Custom CSS
- Backend: Node.js, Express.js
- Database: MongoDB with Mongoose
- Authentication: JSON Web Tokens (JWT)
- State Management: Redux Toolkit / Context API (based on implementation)
- API Communication: RESTful API
- Payment Gateway: Stripe / SSLCommerz / Other (based on integration)
git clone https://github.com/your-username/hospital-management-system.git
cd hospital-management-system cd server
npm install npm run dev