Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🏥 Hospital Management System

A full-stack web application developed to streamline hospital operations by managing patients, doctors, appointments, treatments, and user administration. The system enables healthcare professionals to efficiently manage patient records while providing administrators with secure user management capabilities.


📌 Overview

The Hospital Management System is designed to simplify day-to-day hospital activities by providing a centralized platform for managing patient information, doctor appointments, diagnostic tests, treatments, and administrative tasks.

The application follows a client-server architecture using React for the frontend, Node.js and Express.js for the backend, and MySQL as the database.


✨ Features

👨‍⚕️ Patient Management

  • Register new patients.
  • Admit and discharge patients.
  • Automatically allocate hospital rooms based on availability.
  • Update room occupancy upon patient discharge.
  • Maintain complete patient medical records.

📅 Appointment Management

  • Schedule doctor appointments.
  • Prioritize appointments based on availability.
  • Manage patient visits efficiently.

🩺 Doctor Dashboard

  • View assigned patients.
  • Access patient medical history.
  • Record diagnoses, treatments, and prescribed medications.
  • Schedule laboratory tests.

💊 Treatment & Diagnostic Management

  • Record diagnostic test results.
  • Maintain treatment history.
  • Store prescribed medications.
  • Track patient health records.

👤 User Management

  • Administrator can add and remove system users.
  • Secure authentication and authorization.
  • Role-based access control.

🛠️ Technology Stack

Frontend

  • React.js
  • HTML5
  • CSS3
  • JavaScript

Backend

  • Node.js
  • Express.js
  • mysql2
  • CORS

Database

  • MySQL

Development Environment

  • Windows
  • Linux

📂 Project Structure

Hospital-Management-System
│
├── frontend/
│   ├── src/
│   ├── public/
│   └── package.json
│
├── backend/
│   ├── routes/
│   ├── controllers/
│   ├── database/
│   ├── server.js
│   └── package.json
│
├── ERD.png
├── README.md
└── .gitignore

🚀 Installation

1. Clone the repository

git clone https://github.com/FathiMariyam/Hospital-Management-System.git

2. Navigate to the project

cd Hospital-Management-System

3. Install frontend dependencies

cd frontend
npm install

4. Install backend dependencies

cd ../backend
npm install

5. Configure the MySQL database

  • Create a MySQL database.
  • Import the required SQL tables.
  • Update the database connection details in the backend configuration.

6. Start the backend server

npm start

7. Start the frontend

cd ../frontend
npm start

🔒 Security

The system implements role-based access control to ensure that only authorized users can access specific functionalities.


📖 Future Improvements

  • Email notifications for appointments
  • Online appointment booking
  • Report generation
  • Patient portal
  • Doctor availability calendar
  • Responsive mobile interface
  • JWT authentication
  • Docker deployment

👩‍💻 Author

Fathima Mariyam

B.Sc. (Hons.) Information Technology Graduate
University of Kelaniya


📄 License

This project is developed for educational and learning purposes.

About

Full-stack hospital management system built with React, Node.js, Express.js, and MySQL.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages