Studying Spring Boot
Reference:
- https://start.spring.io/
- https://docs.spring.io/spring-boot/docs/2.1.18.RELEASE/reference/html/index.html
- https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.kotlin
Install & Hello World
// app.groovy @RestController class ThisWillActuallyRun { @RequestMapping("/") String home() { "Hello World!" } }and run it
$ spring run ./app.groovy # goto http://localhost:8080/ then you can see the page printing "Hello World" 