- Main class com.in28minutes.rest.webservices.restfulwebservices.RestfulWebServicesApplication
- You cannot run this app on local as it is configured to run on port 80 - https://serverfault.com/questions/112795/how-to-run-a-server-on-port-80-as-a-normal-user-on-linux. You can run it as a docker container as shown below
- mvn clean package
- docker run --publish 8200:80 in28min/aws-hello-world-rest-api:0.0.1-SNAPSHOT
docker login
docker push @@REPO@@/aws-hello-world-rest-api:0.0.1-SNAPSHOT
Hello World
{"message":"Hello World - Changed"}
{"message":"Hello World, in28minutes"}