Awesome
Spring Boot 2 and Thymeleaf with Maven
- Spring Boot 2
- Web application (WAR) packaging as well as self-contained JAR
Thymeleaf
with following dialects: Java 8 Time, Layout and SecurityWebJars
Prerequisites
JDK 11
andJAVA_HOME
environment variable set
Building the project
Clone the repository:
git clone https://github.com/kolorobot/spring-boot-thymeleaf
Navigate to the newly created folder:
cd spring-boot-thymeleaf
Run the project with:
./mvnw clean spring-boot:run
Navigate to:
http://localhost:8080
Login with: user
and demo
Package the application
To package the project run:
./mvnw clean package
Screenshots
- Login
- Dashboard
On my blog:
Articles on my blog referencing to this project:
- Java 8 Date & Time with Thymeleaf
- Spring Boot and Thymeleaf with Maven
- Spring Boot Integration Testing with Selenium
- Spring Boot and Thymeleaf: Reload templates and static resources without restarting the application
- Getting started with Thymeleaf Text Templates
- Spring Boot and Security Events with Actuator