Skip to content

"The mother of all demo apps" — Exemplary Medium.com clone backend powered by Spring Boot, Spring Security, Keycloak, and PostgreSQL

Notifications You must be signed in to change notification settings

marcusmonteirodesouza/realworld-backend-spring-boot-java-keycloak-postgresql

Repository files navigation

RealWorld Example App

Spring Boot codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

This codebase was created to demonstrate a fully fledged backend application built with Spring Boot including CRUD operations, authentication, routing, pagination, and more.

We've gone to great lengths to adhere to the Spring Boot community styleguides & best practices.

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

How it works

System Diagram

Getting started

  1. Run cp .env.template .env. The .env file contains the environment variables used by both Keycloak and the Realworld backend application, including secrets.

Set up Keycloak

Follow the documentation

Run the application

  1. Run docker compose up.
  2. When you register or update an user, you can see it listed and also it's details on the Keycloak admin console. Registered User in Keycloak Registered User in Keycloak - Attributes

About

"The mother of all demo apps" — Exemplary Medium.com clone backend powered by Spring Boot, Spring Security, Keycloak, and PostgreSQL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published