$ 0 0 really simple, and the code is available here https://github.com/vernetto/restapi I just realize that I had already done this exercise here http://www.javamonamour.org/2017/03/spring-boot-starter-web-app.html , even better explained!