2024-09-06 10:08:06 +02:00
2024-09-06 09:04:48 +02:00
2024-09-06 10:00:42 +02:00
2024-09-06 09:50:03 +02:00
2024-09-06 09:04:48 +02:00
2024-09-06 09:50:03 +02:00
2024-09-06 09:41:08 +02:00
2024-09-06 09:04:48 +02:00
2024-09-06 09:04:48 +02:00
2024-09-06 09:04:48 +02:00
2024-09-06 10:08:06 +02:00
2024-09-06 09:04:48 +02:00

Hello World Spring Boot Application

This is a simple Spring Boot application that exposes a REST endpoint.

Prerequisites

  • JDK 21
  • Docker
  • Gradle

Build Instructions

  1. Clone the repository:

    git clone <repository-url>
    cd <repository-directory>
    
  2. Build the application using Gradle:

    ./gradlew build
    
  3. Build the Docker image:

    docker build -t hello-world-spring-boot .
    

Running the Application

  1. Run the Docker container:

    docker run -p 8080:8080 hello-world-spring-boot
    
  2. The application will be available at http://localhost:8080.

Making a Request

To test the application, you can make a GET request to the /hello endpoint:

curl http://localhost:8080/hello
Description
No description provided
Readme 93 KiB
Languages
Smarty 57.2%
Kotlin 23.4%
Dockerfile 19.4%