BlogHub is a full-stack blogging web application built using Java (JDK 21), Spring Boot, Spring Data JPA (Hibernate), MySQL, REST APIs, JSP, HTML, CSS, and JavaScript.
It provides a modern blogging platform where users can create, edit, manage, and explore blog posts with secure role-based access.
- βοΈ Create, edit, and delete blog posts
- ποΈ Organize posts by categories
- π Role-based authentication (Admin / User)
- β‘ REST APIs for efficient backend communication
- π Pagination and sorting for blog posts
- β DTO-based validation and structured API responses
- Java (JDK 21)
- Spring Boot
- Spring Data JPA (Hibernate)
- REST APIs
- MySQL
- HTML5
- CSS3
- JavaScript
- JSP
- Spring Tool Suite (STS)
- Maven
- Git & GitHub
- User Registration & Login
- Session-based Authentication
- Create Blog Posts
- Edit Own Posts
- Delete Own Posts
- View Posts by Category
- Pagination & Sorting
- Manage Users
- Manage Categories
- Delete Inappropriate Posts
- Full Control Over Platform Content
- Create, Update & Delete Posts
- Category-wise Blog Organization
- Pagination & Sorting Support
- DTO-based Validation
- Clean and Structured Data Handling
- Layered Architecture (Controller β Service β Repository)
- Spring Data JPA (Hibernate)
- DTO Pattern
- Global Exception Handling
- Structured REST API Responses
- MVC Design Pattern
- Authentication Module
- User Management
- Blog Management
- Category Management
- Admin Dashboard
- REST API Layer
- users
- posts
- categories
git clone https://github.com/github.com/Manukumar7644/BlogHub-Blogging-Platform/BlogHub.gitImport the project into Spring Tool Suite (STS), IntelliJ IDEA, or Eclipse.
Update your application.properties file:
spring.datasource.url=jdbc:mysql://localhost:3306/bloghub
spring.datasource.username=root
spring.datasource.password=your_passwordRun the Spring Boot application as a Java Application.
http://localhost:8080/
Add screenshots of your application here.
Example:
screenshots/
βββ login.png
βββ dashboard.png
βββ create-post.png
βββ category.png
Manu Kumar
B.Tech β Computer Science & Engineering
β If you found this project useful, consider giving it a Star on GitHub!