Spring Boot Web Handlebars Sample, feel free to fork in order to experiment support for your favorite Javascript based template engine.

More details about Spring Script Templating in Spring Framework reference manual.

Be sure to use JDK 8u60 or later in order to have the better Nashorn version available.