Skip to content

Hospital Management System built with Spring Boot , implementing a microservices architecture with separate services for Doctor, Patient, and Appointment management. Includes Swagger for API documentation and WebClient for inter-service communication.

Notifications You must be signed in to change notification settings

karantaragi07/Hospital-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

๐Ÿฅ Hospital Management System

A microservices-based Hospital Management System built using Spring Boot, designed to efficiently manage doctors, patients, and appointments.


๐Ÿ“Œ Microservices Overview

1๏ธโƒฃ Doctor Service ๐Ÿฉบ

. Manages doctor details (name, specialization, availability)

. Provides APIs for CRUD operations on doctors

2๏ธโƒฃ Patient Service ๐Ÿ‘ค

. Handles patient registration and record management

. Provides APIs for adding, updating, and fetching patient data

3๏ธโƒฃ Appointment Service ๐Ÿ“…

. Manages appointments between patients and doctors

. Uses WebClient to fetch doctor & patient details from respective services


๐Ÿš€ Tech Stack

Spring Boot (Java 17+) โ†’ Microservice backend

MongoDb โ†’ Database

Spring WebClient โ†’ Service-to-service communication

Swagger (OpenAPI) โ†’ API documentation & testing

Maven/Gradle โ†’ Build tool

REST APIs โ†’ Communication layer


โšก Features

. CRUD operations for Doctor, Patient, and Appointment

. REST APIs with Swagger UI documentation

. Inter-service communication using Spring WebClient

. Microservices can run independently or together

. Scalable design for future extensions


๐Ÿ“‚ Project Structure

hospital-management-system/
โ”‚โ”€โ”€ doctor-service/        # Doctor microservice (Spring Boot)
โ”‚โ”€โ”€ patient-service/       # Patient microservice (Spring Boot)
โ”‚โ”€โ”€ appointment-service/   # Appointment microservice (Spring Boot + WebClient)
โ”‚โ”€โ”€ README.md


โš™๏ธ Setup & Run

๐Ÿ”น 1. Clone Repository

git clone https://github.com/<your-username>/Hospital-Management-System.git
cd Hospital-Management-System

๐Ÿ”น 2. Run Services Individually

cd doctorService
mvn spring-boot:run
cd patientService
mvn spring-boot:run
cd appointmentService
mvn spring-boot:run

๐Ÿ“– API Documentation

Once the services are running, you can explore APIs via Swagger UI:

Doctor Service โ†’ http://localhost:8081/swagger-ui.html

Patient Service โ†’ http://localhost:8082/swagger-ui.html

Appointment Service โ†’ http://localhost:8083/swagger-ui.html


๐Ÿ”ฎ Future Enhancements

. Authentication & Authorization (JWT)

. Role-based access (Admin, Doctor, Patient)

. Notification service (Email/SMS reminders)

. Deployment on Cloud (AWS/GCP/Azure)


๐Ÿค Contributing

. Fork this repo

. Create a feature branch (feature-new-module)

. Commit changes (git commit -m "Added new feature")

. Push to branch (git push origin feature-new-module)

. Open a Pull Request


๐Ÿ™Œ Acknowledgements

Special thanks to all contributors and open-source projects that made this system possible.


๐Ÿ“ฌ Contact

For any queries, suggestions, or contributions:

๐Ÿ‘จโ€๐Ÿ’ป Author: Karan Taragi

๐Ÿ“ง Email: ksingh064002@gmail.com

๐ŸŒ GitHub: karantaragi07

About

Hospital Management System built with Spring Boot , implementing a microservices architecture with separate services for Doctor, Patient, and Appointment management. Includes Swagger for API documentation and WebClient for inter-service communication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages