Skip to content

elaaissaouiabdessamad/cabinet-front

Repository files navigation

Medical Cabinet Frontend Application

For Backend Code (Spring Boot + Java): https://github.com/AkramLok/hospital-backend-java

Overview

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.

Features

  1. Patient Management

    • Add, update, and delete patient information.
    • View patient details and medical history.
    • Track assignments of patients to beds.
  2. Bed Assignment History

    • Maintain a history of patient bed assignments.
  3. Doctor and Patient Assignment

    • Manage assignments within two specific blocs:
      • Bloc de Rythomologie
      • Salle Catherterisme
  4. Shift Scheduling

    • Plan and manage shifts for doctors and nurses.
    • Add, update, and consult shift schedules.
  5. Pharmacy Management

    • Add and manage medications in the pharmacy inventory.
  6. User Authentication and Authorization

    • Role-based access control for doctors.

Technologies Used

  • 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

Installation

Configure the Database

Update the application.properties or application.yml file with your database configuration.

application.properties

spring.datasource.url=jdbc:mysql://localhost:3306/medical_cabinet
spring.datasource.username=root
spring.datasource.password=yourpassword

Build and run the backend application

mvn clean install
mvn spring-boot:run

Build and run the frontend application

Navigate to the React frontend directory and install dependencies.

cd path-to-react-frontend
npm install

Start the React application.

npm start

Usage

  1. Ensure both the Spring Boot backend and the React frontend applications are running.

  2. Access the application at http://localhost:3000.

  3. Sign in and log in with existing doctor credentials.

  4. Navigate through the application to manage patients, bed assignments, doctor and nurse shifts, and pharmacy inventory.

Contributing

  1. Fork the repository.

  2. Create a new feature branch.

git checkout -b feature/your-feature-name
  1. Commit your changes.
git commit -m "Add your message"
  1. Push to the branch.
git push origin feature/your-feature-name
  1. Push to the branch.

License

This project is licensed under the MIT License.

Contact

For any questions or support, please reach out to achibaneakram@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors