This is an application template that has thymeleaf and tailwind preconfigured in a gradle application.
- To start the Spring application run the main method in
./gradlew bootRun
- To generate the tailwind files execute the following in a terminal window at the root of the project
npm run build
- For livereload run
npm run watch
- The application should now be running on https://localhost:3000
For further reference, please consider the following sections:
- Official Gradle documentation
- Spring Boot Gradle Plugin Reference Guide
- Create an OCI image
- Spring Web
- Thymeleaf
- Frontend Gradle plugin
The following guides illustrate how to use some features concretely:
- Building a RESTful Web Service
- Serving Web Content with Spring MVC
- Building REST services with Spring
- Handling Form Submission
These additional references should also help you: