finds.dev

fenixsoft/monolithic_arch_springboot

基于SpringBoot的单体多层架构示例工程。《凤凰架构》的配套组件。

View on GitHubHomepage ↗

★ 568JavaApache-2.0updated Jul 2024

// the take

A companion implementation for the Chinese book 'Phoenix Architecture', showing a traditional Spring Boot monolith with DDD layering (Resource/Application/Domain/Infrastructure). It's a teaching aid, not a production template — the same bookstore app is also implemented as microservices, Kubernetes, Istio, and Serverless versions so you can compare architectures directly.

The DDD layer separation is actually enforced in the package structure rather than just described in a README. Jersey 2 for JAX-RS instead of Spring MVC is an interesting choice that keeps the web layer standard-spec. Ships with both HSQLDB (zero-config, in-memory) and MySQL profiles, so you can run it in one Docker command or swap to a real database. Test suite uses Spring's transaction rollback pattern for isolation — tests clean up after themselves without truncation scripts.

Spring Security OAuth 2.3 is end-of-life and was replaced years ago by Spring Authorization Server; anyone copying the auth setup is inheriting dead code. The frontend is checked in as compiled Vue.js bundles with hashed filenames and no source — you can read the backend but the UI is a black box. Last meaningful change was 2024 with nothing since, and the dependency stack (Spring Boot 2, Java 8 baseline) is aging. Travis CI integration is broken — Travis.com changed its free tier model and the badge will show 'unknown' for most forks.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
568
Forks
325
Language
Java
License
Apache-2.0
Last commit
4 Jul 2024

// nearby

If monolithic_arch_springboot isn't quite it.

All repos →