# gothinkster/spring-boot-realworld-example-app

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

Repository: https://github.com/gothinkster/spring-boot-realworld-example-app
Canonical: https://ross.abutalabs.com/products/spring-boot-realworld-example-app
Language: Java
License: MIT
License Family: permissive
Topics: spring-boot, realworld, mybatis
Last push: 2024-07-13T10:14:03+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3292, "days_push": 781, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1578, forks 1043 (observed 2026-08-28T04:05:06.720737+00:00)

## What it is
A Spring Boot + MyBatis example backend implementing the RealWorld (Medium clone) API spec with CRUD, JWT auth, pagination, and both REST and GraphQL endpoints. It demonstrates DDD layering and CQRS patterns as a reference codebase for Java backend developers.

## Use cases
- learn how to structure a Spring Boot backend with DDD layers
- see a working JWT authentication implementation in Spring Security
- reference implementation of the RealWorld API spec in Java
- example of MyBatis data mapper persistence
- compare REST and GraphQL adapters over a shared domain layer
- starting point for building a Medium-style article backend

## When to choose
- you want a canonical, spec-compliant RealWorld backend in Spring Boot
- you are learning DDD/CQRS patterns in a Java web app
- you need a working example pairing Spring Boot with MyBatis and SQLite

## When to avoid
- you need a production-ready application rather than a teaching example
- you prefer JPA/Hibernate over MyBatis
- you are not targeting the JVM/Spring ecosystem

## Facets
- artifact type: learning-resource
- maturity: active
- function: auth, orm, web-framework, api-framework, graphql, http-server, routing
- domain: web-development, backend, developer-tools, tutorials, apis
- platform: jvm, self-hosted
- tags: spring-boot, mybatis, realworld-spec, example-app, ddd, cqrs, jwt, reference-implementation, docker

## Member repositories
- gothinkster/spring-boot-realworld-example-app (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:06.720737+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:56:55.138604+00:00, confidence not recorded.
  - readme: https://github.com/gothinkster/spring-boot-realworld-example-app (fetched 2026-08-28T04:05:06.720737+00:00, sha 6570f8e21fdc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
