Part 3 of a series building a TodoMVC clone with Spring Boot and Thymeleaf. Covers implementing filter views (All/Active/Completed) using a ListFilter enum and three controller endpoints, conditionally showing a 'Clear completed' button using Thymeleaf's th:if, deleting all completed items via a DELETE endpoint, and adding a 'toggle all' checkbox that marks all items as completed via a PUT endpoint. Full source code is available on GitHub.

4m read timeFrom wimdeblauwe.com
Post cover image

Sort: