Following the tutorial at https://spring.io/guides/tutorials/rest/