Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dsyer/spring-todo-mvc
https://github.com/dsyer/spring-todo-mvc
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dsyer/spring-todo-mvc
- Owner: dsyer
- Created: 2021-11-15T07:31:28.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-15T12:34:15.000Z (10 months ago)
- Last Synced: 2024-05-19T19:25:55.483Z (6 months ago)
- Language: Java
- Homepage:
- Size: 136 KB
- Stars: 19
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
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 `