An open API service indexing awesome lists of open source software.

https://github.com/eis/spring-boot-simplest

Simplest way to prototype with spring boot: groovy and spring cli.
https://github.com/eis/spring-boot-simplest

Last synced: 2 months ago
JSON representation

Simplest way to prototype with spring boot: groovy and spring cli.

Awesome Lists containing this project

README

          

$ cat Helloworld.groovy
@RestController
class HelloworldController {
@RequestMapping("/")
String home() {
return "Hello world!"
}
}
$ spring run Helloworld.groovy
$ curl localhost:8080
Hello world!

$ spring jar app.jar Helloworld.groovy
$ docker build -t hello .
$ docker run -ti --rm hello