This app demonstrates the use of Groovy templates in Spring Boot. It also makes use of GORM for persistence.
Clone the repository then execute the following:
cd springboot-groovytemplates
./gradlew run
Explanations can be found on this blog post.