A full-stack web application that provides a user-friendly platform for managing medical records, scheduling appointments, real-time communication, and secure payments.
-
User-Friendly Platform
Browse medical records, schedule appointments, and communicate with healthcare providers via an intuitive React.js interface. -
Razorpay API Integration
Secure direct payments of hospital bills by insurance companies using Razorpay. -
Real-Time Chat Engine
Instant, private messaging between patients and healthcare professionals. -
MongoDB + Mongoose
Efficient storage and retrieval of patient data, medical histories, and treatment details. -
Online Appointment & Payment
Book appointments and pay online in a few clicks—no manual processes required.
- Frontend: React.js, Axios
- Backend: Node.js, Express
- Database: MongoDB (Mongoose ODM)
- Payments: Razorpay API
- Real-Time Chat: Chat Engine
- Node.js (v14+)
- npm (v6+) or yarn
- A MongoDB Atlas cluster URI
- Razorpay account for API keys
git clone https://github.com/MrSagarBiswas/E-Health-Management-System.git
cd E-Health-Management-System-
Navigate to the backend folder
cd backend -
Create a
.envfile Insidebackend/, create a file named.envand add your keys:MONGODB_URI=your_mongodb_atlas_connection_string KEY_ID=your_razorpay_key_id KEY_SECRET=your_razorpay_key_secret
-
Install dependencies
npm install
-
Start the server
npm start
Your backend will run on http://localhost:5000 (by default).
-
Open a new terminal and navigate to the frontend folder
cd ../frontend -
Create a
.envfile Insidefrontend/, create a file named.envand add:REACT_APP_API=https://e-health-management-system.onrender.com REACT_APP_KEY_ID=your_razorpay_key_id
-
Install dependencies
npm install
-
Start the React app
npm start
Your frontend will run on http://localhost:3000.
| File | Variable | Description |
|---|---|---|
backend/.env |
MONGODB_URI |
MongoDB Atlas connection string |
KEY_ID |
Razorpay API key ID | |
KEY_SECRET |
Razorpay API key secret | |
frontend/.env |
REACT_APP_API |
Backend API base URL |
REACT_APP_KEY_ID |
Razorpay API key ID (for payment button config) |
- Register as a Patient or Insurance Company.
- As a patient, view/edit your medical records and book appointments.
- Insurance companies can pay hospital bills directly through Razorpay integration.
- Use the in-app chat to communicate with healthcare providers in real time.
Patient Dashboard – View records & appointments.
Razorpay Checkout for insurance payments.
Real-time chat between patient & provider.
Efficient patient data management with MongoDB.
This project is licensed under the MIT License. See the LICENSE file for details.