Skip to content

This Blog project is a real-time web application. The application showcases various features of Spring Boot and Thymeleaf, providing dynamic web page generation and user authentication.

Notifications You must be signed in to change notification settings

harshdeepkalita/Spring-Blog-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot 3 Thymeleaf Real-Time Web Application

Overview

The application showcases various features of Spring Boot and Thymeleaf, providing dynamic web page generation and user authentication.

Project Highlights

The BlogApp project, developed during the course, stands as a testament to my newfound skills in Spring Boot and Thymeleaf. Some of its highlights include:

  • User-friendly blog application interface using Bootstrap CSS and Thymeleaf MVC.
  • Implementation of two roles, ROLE_ADMIN and ROLE_GUEST, to manage posts and comments.
  • Configuring a Many-to-Many relationship between USERS and ROLES using a joining table (user_roles).
  • Establishing a one-to-many relationship between posts and comments for user interaction.
  • Integration of CKEditor 5 for multimedia-rich content creation.
  • Utilization of @Validation for form handling, ensuring data input adheres to specified rules and constraints for a more robust and secure application.
  • Enabling secure user authentication and authorization using Spring Security, granting access to specific endpoints based on user roles.

1) Login Page:

Displays an invalid username/password :

image

A logged in User's page:

image

Note: The ROLE_ADMIN user has the access to delete/update/view any ROLE_GUEST users comments and posts.

2) Registeration Page:

image

image

Password get's stored in a hashed value using BCrypt Algorithm:

image

3)Creating a New Post:

image 1

image 2

Creating a Post's Validation Part:

image

4) Comment Section:

Comment Validation Part:

image

Once someone writes a comment :

image

5) An unauthorized user can view the Blogs:

image

image

About

This Blog project is a real-time web application. The application showcases various features of Spring Boot and Thymeleaf, providing dynamic web page generation and user authentication.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published