Main Objectives
Get introduced to the course learning outcomes.
We'll cover the following
Thymeleaf is a Java-based template engine that uses server-side rendered HTML. It is best suited for views in an MVC application.
Spring, on the other hand, is a Java-based application framework and is best suited for making easily scalable applications on a production level. One of the major strengths of Spring Boot is its ability to prototype quickly. The smallest application can fit in a single tweet (less than 280 characters) yet will scale to the internet with ease.
Course contents
Throughout this course, we will cover the following:
- Thymeleaf basics.
- Why to use Thymeleaf with Spring Boot.
- Learn how to build applications using Thymeleaf and Spring Boot.
- Build a fully working back-end application with Java, Spring Boot and Thymeleaf.
Course project
Through the creation of an application for a fictional basketball team called the Thyme Wizards, we will learn about Spring, Spring Boot, Spring Security, Spring Data, and Thymeleaf. We will also learn to use unit and integration tests to ensure the proper code functionality and build a maintainable codebase that we can expand upon later.
You can preview a chunk of the course project below.
Press the “Run” button and wait for the application to compile. Once the app compiles, we can see the output in the “Output” tab or by clicking on the URL at the bottom of the code below:
spring.datasource.url=jdbc:tc:postgresql:12:///tamingthymeleafdb?TC_TMPFS=/testtmpfs:rw spring.datasource.driver-class-name=org.testcontainers.jdbc.ContainerDatabaseDriver spring.datasource.username=user spring.datasource.password=password spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect spring.jpa.hibernate.ddl-auto=validate logging.level.org.hibernate.SQL=DEBUG spring.jpa.properties.hibernate.show_sql=false