Skip to content

MrSagarBiswas/E-Health-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

E-Health Management System

A full-stack web application that provides a user-friendly platform for managing medical records, scheduling appointments, real-time communication, and secure payments.


Table of Contents

  1. Features
  2. Tech Stack
  3. Prerequisites
  4. Getting Started
  5. Environment Variables
  6. Usage
  7. Screenshots
  8. License

Features

  • 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.


Tech Stack

  • Frontend: React.js, Axios
  • Backend: Node.js, Express
  • Database: MongoDB (Mongoose ODM)
  • Payments: Razorpay API
  • Real-Time Chat: Chat Engine

Prerequisites


Getting Started

Clone the Repository

git clone https://github.com/MrSagarBiswas/E-Health-Management-System.git
cd E-Health-Management-System

Backend Setup

  1. Navigate to the backend folder

    cd backend
  2. Create a .env file Inside backend/, create a file named .env and add your keys:

    MONGODB_URI=your_mongodb_atlas_connection_string
    KEY_ID=your_razorpay_key_id
    KEY_SECRET=your_razorpay_key_secret
  3. Install dependencies

    npm install
  4. Start the server

    npm start

Your backend will run on http://localhost:5000 (by default).

Frontend Setup

  1. Open a new terminal and navigate to the frontend folder

    cd ../frontend
  2. Create a .env file Inside frontend/, create a file named .env and add:

    REACT_APP_API=https://e-health-management-system.onrender.com
    REACT_APP_KEY_ID=your_razorpay_key_id
  3. Install dependencies

    npm install
  4. Start the React app

    npm start

Your frontend will run on http://localhost:3000.


Environment Variables

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)

Usage

  1. Register as a Patient or Insurance Company.
  2. As a patient, view/edit your medical records and book appointments.
  3. Insurance companies can pay hospital bills directly through Razorpay integration.
  4. Use the in-app chat to communicate with healthcare providers in real time.

Screenshots

Dashboard Patient Dashboard – View records & appointments.

Payment Razorpay Checkout for insurance payments.

Chat Real-time chat between patient & provider.

Records Efficient patient data management with MongoDB.


License

This project is licensed under the MIT License. See the LICENSE file for details.