Backend project

BlogHub REST API

A production-style blogging backend designed around secure access, content workflows, and operational visibility.

Overview

BlogHub is a backend-focused project for publishing content, managing comments, and exploring the security and operational concerns that sit around a modern REST API.

Engineering focus

The API is organized around clear authentication, content, and persistence boundaries. It explores JWT access tokens, refresh-token rotation, logout behavior, role-based access, and Redis-backed token invalidation.

  • Spring Security with JWT authentication and refresh-token lifecycle.
  • Role-based access for protected workflows.
  • MySQL persistence with Flyway migrations.
  • Redis support for token blacklist and cache-oriented workflows.
  • Keyset pagination and nested comments.
  • OpenAPI documentation, Actuator, and Prometheus-oriented observability.

Why it belongs in the portfolio

BlogHub shows the less visible parts of backend engineering: stable contracts, access boundaries, token lifecycle decisions, pagination, migration discipline, and the operational hooks needed to understand a running service.

Stack

Java 17Spring Boot 3.5Spring SecurityJWTMySQLRedisFlywayDockerOpenAPIGitHub Actions