https://github.com/dsyer/spring-todo-mvc
https://github.com/dsyer/spring-todo-mvc
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dsyer/spring-todo-mvc
- Owner: dsyer
- Created: 2021-11-15T07:31:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-10T16:58:39.000Z (9 months ago)
- Last Synced: 2024-10-29T18:05:37.511Z (6 months ago)
- Language: Java
- Homepage:
- Size: 142 KB
- Stars: 22
- Watchers: 4
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: readme.adoc
Awesome Lists containing this project
- awesome-htmx - TodoWebflux Spring Boot HTMX demo
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 `