Sign inSign up

shiv2java/aws-hello-world-rest-api

By shiv2java

•Updated over 6 years ago

Image
0

41

shiv2java/aws-hello-world-rest-api repository overview

⁠Hello World Rest API

  • Main class com.mphasis.RestfulWebServicesApplication

You can run it as a docker container as shown below:

⁠Creating Containers

⁠clear package from STS:

  • mvn clean package
  • docker images
  • docker run --publish 8080:8080 manpreetsinghbindra/aws-hello-world-rest-api:1.0.0-RELEASE
docker login
docker push @@REPO@@/aws-hello-world-rest-api:1.0.0-RELEASE

E.g: docker push manpreetsinghbindra/aws-hello-world-rest-api:1.0.0-RELEASE

⁠Test URLs

Hello World
{"message":"Hello World - Changed"}
{"message":"Hello World, Mphasis"}

Tag summary

Content type

Image

Digest

Size

86.6 MB

Last updated

over 6 years ago

docker pull shiv2java/aws-hello-world-rest-api:1.0.0-RELEASE