Back to projects

pastebin-app

Full-stack Pastebin demo with Spring Boot 3, React, Keycloak SSO, MinIO object storage, and Docker Compose. Shows REST API design, containerized infrastructure, and role-based access control in a sandbox setup.

Brief

Spring Boot and React Pastebin with SSO sandbox

Demonstrates: REST API design, authentication, roles, sandbox infrastructure

Key Features

  • Implements a Spring Boot 3 REST API with a React frontend
  • Uses Keycloak SSO and role-based access control for authentication flows
  • Runs PostgreSQL, MinIO, and app services in a local Docker Compose setup

Problem

Show how a small full-stack product can combine authentication, object storage, persistence, and frontend delivery in one local system.

Architecture

React frontend talks to a Spring Boot REST API. Keycloak handles SSO and roles, PostgreSQL stores metadata, MinIO stores paste objects, and Docker Compose wires the local infrastructure.

Key decisions

  • Use Keycloak instead of a custom auth layer to demonstrate realistic SSO integration.
  • Keep infrastructure local and reproducible through Docker Compose.

My role

  • Designed the backend API, auth flow, storage integration, and local infrastructure.
  • Connected the React frontend to the Spring Boot service boundary.

Tech stack

JavaSpring BootReactKeycloakDockerPostgreSQLMinIO

Future improvements

  • Add broader integration test coverage and observability.
  • Harden rate limits and storage lifecycle policies for production-like use.
A full-stack Pastebin demo built with a Spring Boot 3 REST API and React frontend. It uses Keycloak SSO for authentication, MinIO for object storage, and PostgreSQL for persistence. The project focuses on architecture and integration points in a local Docker Compose environment. It's a sandbox for demonstrating REST API design, containerized infrastructure, and role-based access control, not a production-hardened system.