Skip to content
No description or website provided.
Branch: master
Clone or download
Greg Emerick
Greg Emerick Standard spring boot
Latest commit a0ae9af Apr 3, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/com/keyholesoftware/lambda Standard spring boot Apr 4, 2018
.gitignore Standard spring boot Apr 4, 2018
Dockerfile Standard spring boot Apr 4, 2018
README.md Standard spring boot Apr 4, 2018
pom.xml

README.md

Spring boot

Sample Spring Boot application with a single REST API.

Run

To build and run from a packaged jar locally:

mvn spring-boot:run

or

mvn clean package
java -jar target/spring-boot-lambda-1.0.0-SNAPSHOT.jar

Docker

To build the image. First build the application, then build the docker image

mvn package
docker build -t spring-boot-lambda .

Run

docker run --name spring-boot-lambda -p 8080:8080 -d spring-boot-lambda

Test

curl http://localhost:8080/languages
You can’t perform that action at this time.