Skip to content

ryanlewis/spring-kotlin-htmx

Repository files navigation

Spring Boot + kotlinx.html + htmx demo

A very simple demo, showing how kotlinx.html and htmx can be used with Spring Boot.

  • As kotlinx.html is all native Kotlin, no template engines are needed
  • As htmx is all HTML, no JavaScript is needed

Running

# Linux / macOS
./gradlew bootRun

# Windows
gradlew.bat bootRun

Otherwise, import it into your favourite IDE and play with it there.

Then visit http://localhost:8080/ in your browser.

License

See LICENSE.