Thursday, June 29, 2017

Spring Boot and Angular

Run the following 4 command to implement your development infrastructure:
$ brew install maven

$ brew update && brew install gradle

$ brew tap pivotal/tap

$ brew install springboot
Create your Hello World service with this code:
@RestController
class HelloWorld {
    @RequestMapping("/")
    String home() {
        "Hello World!"
    }
}
Run the app using the following command:
$ spring run app.groovy
Now, open your browser to http://localhost:8080