Simple Spring Boot Application


  1. Clone this repository;
  2. Download and install the JDK latest version;
  3. Preferrably use some IDE such as Eclipse or IntelliJ, otherwise, you'll need Maven installed and configured on your machine.

Running the application

--From your IDE or command line using maven: 1. In your IDE, import the app as Maven project for downloading and configuring dependencies, but if you opted by not using an IDE, go to the project root folder via command line and run "mvn clean package"; 2. Having compiled/installed the project successfully, run it as 'Java Application' choosing the main class "", and in case you're doing it the hardest way, test "java -jar target/example-0.0.1-SNAPSHOT.jar"; 3. If no exception popped up in your console, finally test invoking http://localhost:8080/api/examples to see sample results.

--Using docker 1. In the project root folder run: "docker build -t --build-arg ." 2. Then run "docker run -d -p 8080:8080" 3. Check sample results invoking "http://localhost:8080/api/examples"