Description
In this course, you will :
- Learn everything you need to know to get started developing applications with Thymeleaf and Spring Boot.
- Combine Spring Boot, Spring Data, and Spring Security to create a strong foundation.
- Unit and integration tests should be used to ensure that the code is working properly.
- Create a maintainable codebase that can be expanded upon.
Syllabus :
1. What are Spring Boot and Thymeleaf?
- Spring Framework
- Spring Boot and Thymeleaf
- Structure of a Spring Application
2. Thymeleaf Introduction
- What is Thymeleaf?
- Writing our First Template
- Writing our First Controller
- Thymeleaf Expressions
- Thymeleaf Attributes
3. Thyme Wizards
- Cascading Style Sheets
- Tailwind CSS
- Adding Tailwind CSS
- Configure Maven
- Tailwind Design System Configuration
- Application Shell
- Application Shell - Client-Side Interactivity
4. Fragments
- Fragments with Parameters
- Fragments with HTML Snippets as Parameters
- Inline Separate SVG Files
- Homepage Refactoring
- Menu Item Components
5. Layouts
- Layouts with Parameters
- Page Titles
- Homepage Refactoring
6. Controllers
- Exposing Data to the View
- Path Parameters
- Posting Data
- Team and User Controllers
7. Internationalization
- Selecting Language Using Query
- Menu Items Translations
8. Database Connection
- Getting Started with Spring Data JPA
- User Repository
- Adding Properties to User
9. Displaying Data
- Parameters vs. FormData objects
- Get Users on the HTML Page
- Refactor the Table Using Fragments
- Using Pagination
- Hide Columns on Mobile
10. Forms
- Error Messages
- Custom Error Messages
- Custom Validator
- Errors Summary
- Validation Groups and Order
11. Data Editing
- Add User Button
- Edit User Data
- Refactoring to Fragments
- Handling Optimistic Locking Failure
- Custom Error Pages
12. Implement Deletion of an Entity
- Introduction to Delete Method
- Using the DELETE HTTP Method
- Flash Attributes
13. Security
- Hardcoded Password
- User Roles
- Thymeleaf Integration
- Custom Login Page
14. Security - Users from Database
- User Entity Updates
- Spring Security Connection
- Showing Current User Info
- Creating User Form
- Refactor the Edit User Implementation
15. Testing
- Introduction to @WebMvcTest
- Getting Started with @WebMvcTest
- Authenticating in the @WebMvcTest
- Testing Using HtmlUnit
16. Testing Using Cypress
- First Cypress Test
- Bypassing Login
17. Various Tips and Tricks
- Open Session in View
- StringTrimmerEditor
- Global Model Attributes
- File Upload
- Selecting a Linked Entity View
- Dynamically Adding Rows
- Static Server-Side Rendering - I
- Server-Side Rendering - II
- Making Updates Persistent
- Adding Rows
- Deleting Rows
- Custom Editors and Formatters
- Date Picker
- Date Picker - Internationalization