Skip to content

Demo REST endpoint that generates server-rendered HTML from a Handlebars template implemented using Quarkus.

Notifications You must be signed in to change notification settings

briantanseng/quarkus-handlebars-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quarkus-handlebars-demo

Get the code

git clone https://github.com/briantanseng/quarkus-handlebars-demo.git && cd quarkus-handlebars-demo

Edit the location of the templates

Open quarkus-handlebars-demo/src/main/resources/application.properties then edit the template.path

template.path=/path-to-your-project/quarkus-handlebars-demo/src/main/resources/META-INF/resources/views

Build and run the project

mvn compile quarkus:dev

View the template in action

Browse to http://localhost:8080/resources and refresh your browser several times. This is server-rendered HTML. Enjoy!

About

Demo REST endpoint that generates server-rendered HTML from a Handlebars template implemented using Quarkus.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published