You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A full-stack blog application with a Spring Boot REST API backend and a React frontend. Supports role-based access control — Admin users can publish, edit, and delete posts, while Regular users can browse content and interact through comments.
Features
JWT Authentication — register, login, and receive a signed token (7-day expiry, HS512)
Role-Based Access — ADMIN and USER roles; admin-only post management enforced via @PreAuthorize
Blog Posts — full CRUD with title, content, author, image (Base64), date, and category
Categories — posts are classified as LOVE_POEMS, STATEMENTS, QUOTES, or POEMS
Comments — authenticated users can create, edit, and delete their own comments
User Profiles — profile picture (Base64), email, and account management
Stateless Sessions — no server-side session; all auth is token-based