diff --git a/README.md b/README.md new file mode 100644 index 0000000..b3f2e45 --- /dev/null +++ b/README.md @@ -0,0 +1,43 @@ +# 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: + ```sh + git clone + cd + ``` + +2. Build the application using Gradle: + ```sh + ./gradlew build + ``` + +3. Build the Docker image: + ```sh + docker build -t hello-world-spring-boot . + ``` + +## Running the Application + +1. Run the Docker container: + ```sh + 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: + +```sh +curl http://localhost:8080/hello \ No newline at end of file