Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dsyer/spring-todo-mvc


https://github.com/dsyer/spring-todo-mvc

Last synced: 11 days ago
JSON representation

Awesome Lists containing this project

README

        

= Todo Spring Boot HTMX demo

This is a small sample application that shows the prototype https://htmx.org[HTMX] integration to build the canonical https://todomvc.com[TodoMVC] application using server-side rendering in Spring Boot using Thymeleaf. This sample is for Spring Webflux. There is a Web MVC version on a branch called "webmvc".

== Basics

The example is built with progressive enhancement in mind, and also shows different levels of HTMX integration.
The very basic application can be run as follows:

[source]
----
$ mvn spring-boot:run
----

The application is then served from `TodoController` and uses full page requests if JavaScript is disabled in the browser.
If JavaScript *is* enabled, the `hx-boost="true"` attribute on the `