816a39fe0ac5d7e8533eef4760b4c64812357b93
Hello World Spring Boot Application
This is a simple Spring Boot application that exposes a REST endpoint.
Prerequisites
- JDK 21
- Docker
- Gradle
Build Instructions
-
Clone the repository:
git clone <repository-url> cd <repository-directory> -
Build the application using Gradle:
./gradlew build -
Build the Docker image:
docker build -t hello-world-spring-boot .
Running the Application
-
Run the Docker container:
docker run -p 8080:8080 hello-world-spring-boot -
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
Languages
Smarty
57.2%
Kotlin
23.4%
Dockerfile
19.4%