This is a web application that allows users to manage various aspects of a hospital, such as patients, doctors, appointments, departments, and reports. It uses Spring Boot framework, Hibernate JPA for data access, MySQL for database management, and Thymeleaf for templating.
User authentication and authorization CRUD operations for patients CRUD operations for doctors CRUD operations for appointments CRUD operations for departments CRUD operations for reports Pagination and sorting Validation and error handling Responsive design Installation To run this project locally, you need to have the following dependencies installed:
Dependency Version.
Spring Boot 2.6.2
Hibernate JPA 5.6.0
MySQL 8.0.26
Thymeleaf 3.0.9
Bootstrap 5.1.3
Java 17
To install the dependencies using Maven or Gradle, follow the instructions in the README.md file in the root directory of this repository.
To start the application using Spring Boot CLI or IDE plugin, run the following command:
./mvnw spring-boot:run -Dspring-boot.run.profiles.active=dev
This will start the application on http://localhost:8080 by default.
Usage To access the application from your browser, go to http://localhost:8080.
You will see a login page where you can enter your username and password to log in as an admin or a doctor.
Credentials for admin are:
username: admin
password: 0000
credentials for doctor:
username: africa
password: 0000
you can perform various tasks such as adding or editing patients, doctors, appointments, departments, and generate reports.
you can create new consultation view patient list, view all consultations and sort to see according to your ID, and view all patients informations related to your own profile and appointments.
USER ROLE
you can make an appointment on the home page and receive the notification confirming your scheduled appointment.













