For Backend Code (Spring Boot + Java): https://github.com/AkramLok/hospital-backend-java
The Medical Cabinet Application is designed to streamline the management of patient information, bed assignments, doctor and nurse shifts, and pharmacy inventory within a hospital setting. Built using Java Spring Boot, this application ensures a robust, scalable, and secure system accessible exclusively to hospital doctors.
-
Patient Management
- Add, update, and delete patient information.
- View patient details and medical history.
- Track assignments of patients to beds.
-
Bed Assignment History
- Maintain a history of patient bed assignments.
-
Doctor and Patient Assignment
- Manage assignments within two specific blocs:
- Bloc de Rythomologie
- Salle Catherterisme
- Manage assignments within two specific blocs:
-
Shift Scheduling
- Plan and manage shifts for doctors and nurses.
- Add, update, and consult shift schedules.
-
Pharmacy Management
- Add and manage medications in the pharmacy inventory.
-
User Authentication and Authorization
- Role-based access control for doctors.
-
Backend
- Java Spring Boot
- Spring Data JPA (Hibernate)
- Spring Security
- RESTful APIs
-
Database
- MySQL
-
Frontend
- HTML, CSS, JavaScript
- React.js
- Tailwind CSS
-
Tools
- Maven
- Lombok
Update the application.properties or application.yml file with your database configuration.
spring.datasource.url=jdbc:mysql://localhost:3306/medical_cabinet
spring.datasource.username=root
spring.datasource.password=yourpasswordmvn clean install
mvn spring-boot:runNavigate to the React frontend directory and install dependencies.
cd path-to-react-frontend
npm installStart the React application.
npm start-
Ensure both the Spring Boot backend and the React frontend applications are running.
-
Access the application at http://localhost:3000.
-
Sign in and log in with existing doctor credentials.
-
Navigate through the application to manage patients, bed assignments, doctor and nurse shifts, and pharmacy inventory.
-
Fork the repository.
-
Create a new feature branch.
git checkout -b feature/your-feature-name- Commit your changes.
git commit -m "Add your message"- Push to the branch.
git push origin feature/your-feature-name- Push to the branch.
This project is licensed under the MIT License.
For any questions or support, please reach out to achibaneakram@gmail.com