Beyou Backend

Beyou Backend

The single API serving the web app, the native mobile app, and this documentation site. Spring Boot 4.1 on Java 25 with virtual threads, PostgreSQL 17 behind a Flyway-owned schema, and 37 REST controllers under /api/v1.

What lives here

How it ships

Merging to main is the deployment: CI runs the tests, builds the image and publishes it to GHCR, and Flux's image automation on the production cluster records the new digest in Git and rolls it out. Caffeine caches sit in front of the hot reads, and Micrometer metrics feed the Grafana dashboards, with errors reporting to the self-hosted GlitchTip.

Deep dives

The architecture topics cover this repo in detail: the domain model, security, gamification, the AI agent, the study notebook, caching, AOP logging, the email service, and the docs system all have their own pages.