Skip to content

im-rk/Blog-Platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📝 Blog Platform API

🧪 API Testing (Postman)

All APIs are tested and documented using Postman.

📌 Postman Collection Link: 👉 https://documenter.getpostman.com/view/44813629/2sB3dWr6v4

A modern, stateless blog backend built with Spring Boot 3, JWT-based authentication, Spring Security, and Dockerized PostgreSQL.
This service provides secure user login, post management, categories, tags, and more.


🚀 Features

🔐 Authentication

  • User login with JWT tokens
  • Stateless sessions with Spring Security
  • Custom JwtAuthenticationFilter for token validation
  • Password hashing using PasswordEncoder

🗂 Blog Features

  • Public API for viewing posts, categories, tags
  • Protected endpoints for creating, editing, and deleting posts (requires JWT)

🛢 Database

  • PostgreSQL 15 running inside Docker
  • Automatically managed schema with JPA + Hibernate
  • Clean migration model

🧱 Architecture

  • Controller → Service → Repository pattern
  • DTO-based request/response
  • Custom UserDetails & UserDetailsService
  • Token generation, validation, and parsing

About

A full-stack blog backend built with Spring Boot, JPA, and JWT authentication. Supports posts, categories, tags, drafts, and role-based access with clean DTO mapping and transactional consistency.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages