1 # Hello World Service
\r
3 This repository contains a Spring Boot application serving a Hello World endpoint. The application can be built and
\r
4 run using the provided script - ``hello-world-build-start.sh``.
\r
8 - Docker installed on your machine.
\r
10 ## Building and Running the Application
\r
14 ./hello-world-build-start.sh
\r
17 The script will build a Docker image and run a container with the Hello World service. After the container starts,
\r
18 wait for a few seconds to ensure the Spring Boot application is fully initialized. Next, it will make an HTTP request to the
\r
19 Hello World endpoint and display the response:
\r
22 response=$(curl -s http://localhost:8080/helloworld/v1)
\r
23 echo "Response from the Hello World endpoint:"
\r
27 To stop and remove the Docker container:
\r
30 docker stop hello-world
\r
31 docker rm hello-world
\r
34 ## Additional Information
\r
36 - The Hello World endpoint is available at http://localhost:8080/helloworld/v1.
\r