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!