A modern full-stack Hospital Management System built using Spring Boot, Java 21, PostgreSQL, Thymeleaf, and Tailwind CSS.
This project is designed to digitize hospital workflows and simplify patient, doctor, and appointment management through an integrated web platform.
The system provides role-based access for administrators, doctors, and patients with secure authentication and real-time scheduling features.
- Patient registration and login
- Book appointments online
- View appointment history
- Manage profile information
- View assigned appointments
- Manage schedules
- Access patient information
- Update appointment status
- Manage users and roles
- Monitor appointments
- Configure hospital operations
- Dashboard analytics
- Java 21
- Spring Boot 3
- Spring Security
- Spring Data JPA
- Hibernate
- Thymeleaf
- Tailwind CSS
- HTML5
- JavaScript
- PostgreSQL
- Docker
- Docker Compose
Controller Layer
↓
Service Layer
↓
Repository Layer
↓
Database
- Role-based authentication
- BCrypt password encryption
- CSRF protection
- Secure session handling
Users
Patients
Doctors
Appointments
Schedules
git clone https://github.com/your-username/Hospital-Management-System-Spring-Boot.gitUpdate the database configuration inside:
src/main/resources/application.properties
Example:
spring.datasource.url=jdbc:postgresql://localhost:5432/hospital_db
spring.datasource.username=postgres
spring.datasource.password=yourpasswordmvnw.cmd spring-boot:run./mvnw spring-boot:rundocker-compose up --build| Role | Password | |
|---|---|---|
| Admin | admin@hospital.com | password |
| Doctor | doctor@hospital.com | password |
- Authentication & Authorization
- Appointment Scheduling
- Patient Record Management
- Doctor Dashboard
- Admin Dashboard
- Real-Time Calendar Integration
- Responsive UI
This project can be deployed on:
- Render
- Railway
- Docker
- AWS
- Azure
Add screenshots here after deployment.
- AI-based symptom analysis
- Online video consultation
- E-prescription generation
- Email notifications
- Mobile application support
This project is developed for educational and learning purposes.