Skip to content

Application for passing the course made in Spring-Boot and Java

Notifications You must be signed in to change notification settings

OwidiuszZielinski/Medical-Office-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Application Configuration

Key Features of the Application

  • Queue Management: Add patients to the queue, assign them to specific offices and doctors at designated times. New doctors can also be added.
  • Web Service: Accessible functionalities across platforms as a web service.
  • Technology Stack: Implemented with Spring Boot and managed with Maven.
  • Database: Data stored in a separate PostgreSQL database.
  • Docker Integration: Ensures environment isolation and consistency using Docker.
  • API Visualization: Utilizes Swagger UI for easy API visualization and usage.
  • Logging: Uses Log4j2 for event logging in both console and file.
  • Unit Testing: Important methods are unit tested to ensure correct functionality.

The application has been tested using the following software:

  • IntelliJ IDE
  • Docker Launching the Application

To launch the application, follow these steps in the CMD command line:

  1. Ensure you have the latest version of Java (21) installed:

    • Enter the command:
      java --version
    • If Java is installed, proceed to step 3.
  2. Install JDK 21 if not already installed:

    • Download the JDK package:
      wget https://download.oracle.com/java/21/latest/jdk-21_linux-x64_bin.deb
    • Install the package:
      sudo apt install ./jdk-21_linux-x64_bin.deb
  3. Navigate to the application folder and build it using Maven:

    • Run:
      mvn clean install
  4. Navigate to the directory at src/main/resources/docker:

    • Check if Docker is installed:
      docker --version
    • If Docker is not installed, install it:
      sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
    • For Windows, Docker Desktop is required.
  5. Set up the PostgreSQL database using Docker Compose:

    • Build the Docker containers:
      docker-compose build
    • Start the Docker containers:
      docker-compose up
  6. Everything is ready. You can now run the application:

    • Run:

      ./mvnw spring-boot:run

      Endpoints


Waiting room


About

Application for passing the course made in Spring-Boot and Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published