Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Latest commit

 

History

History
38 lines (23 loc) · 1.67 KB

README.md

File metadata and controls

38 lines (23 loc) · 1.67 KB

Web Application for Blog

RU | FR | JP | DE | CH | KR

This web application is designed for creating and managing a blog, where users can create posts, comment on them, subscribe to other users' blogs, and manage their own profiles.

Project Setup

  • Created a new Spring Boot project.
  • Configured dependencies for web applications, databases, and authentication.
  • Created a database to store information about users, posts, and comments.

Data Model

  • Defined the data structure for users, posts, and comments.
  • Created Java classes corresponding to this data structure, using JPA annotations to map to tables in the database.

Controllers

  • Created controllers to handle HTTP requests, such as creating posts, comments, user authentication, etc.
  • Defined controller methods to perform operations on data, such as creating a new post, adding a comment, etc.

Services

  • Implemented services to perform business logic of the application, such as saving posts, comments, user authentication, etc.
  • Included logic for subscribing to other users' blogs and managing user profiles.

Views

  • Created HTML templates to display the user interface, such as pages for viewing posts, adding comments, registration, and login.
  • Used Thymeleaf for integrating Java code with HTML.

Security

  • Ensured the security of the application through user authentication and authorization.
  • Implemented protection against Cross-Site Request Forgery (CSRF) and other types of attacks.

This is a brief overview of the steps taken in developing the web application for the blog.