This device is not compatible.
You will learn to:
Write the Java code for a Spring Boot application.
Create templates using Thymeleaf.
Structure your Spring Boot project.
Create fragments in Thymeleaf.
Skills
Templates
Database
API Development
Prerequisites
Advanced knowledge of Java
Advanced knowledge of HTML
Intermediate knowledge of MySQL
Basic knowledge of Thymeleaf
Technologies
MySQL
Thymeleaf
Spring Boot
Project Description
Building dynamic web applications with server-side rendering requires integrating backend logic with templating engines. Spring Boot with Thymeleaf provides a powerful stack for creating Java web applications with role-based access control and reusable UI components.
In this project, we'll build a recipe management application using Spring Boot, Thymeleaf, and MySQL that allows users to create, share, and edit recipes with role-based permissions. The application demonstrates Thymeleaf fragments for reusable UI components, Spring MVC controllers for request handling, and user authentication with custom roles defining different access levels. We'll implement a complete CRUD system where admins can manage users while regular users can create and edit their own recipes.
We'll start by creating Spring Boot controllers for the home page and recipe forms, then implement a UserDetailsService for authentication and authorization. Next, we'll build Thymeleaf templates with reusable fragments for menus and recipe lists, enabling dynamic content rendering based on user roles. We'll develop templates for user registration, profile editing, and an admin panel for user management, connecting frontend templates to backend services through Spring MVC. By the end, you'll have a production-ready recipe sharing platform demonstrating Spring Boot backend development, Thymeleaf templating, MySQL database integration, role-based access control, and fragment-based UI design applicable to any Java web application or content management system.
Project Tasks
1
Introduction
Task 0: Get Started
2
Spring Boot Backend
Task 1: Create the Home Controller
Task 2: Create the Recipe Form Controller
Task 3: Create a User Detail Service
3
Thymeleaf Templates and Fragments
Task 4: Create a Custom Template
Task 5: Create the Menu Fragment
Task 6: Create Some Templates
Task 7: Create a Recipe List Fragment
Task 8: Display the Recipes Dynamically
Task 9: Create a User Details Template
Task 10: Create a User Registration Form
Task 11: Enhance the Admin Panel
Task 12: Edit the User Profile Functionality
Congratulations!
Subscribe to project updates
Atabek BEKENOV
Senior Software Engineer
Pradip Pariyar
Senior Software Engineer
Renzo Scriber
Senior Software Engineer
Vasiliki Nikolaidi
Senior Software Engineer
Juan Carlos Valerio Arrieta
Senior Software Engineer
Relevant Courses
Use the following content to review prerequisites or explore specific concepts in detail.