finds.dev← search

// the find

fenixsoft/monolithic_arch_springboot

★ 568 · Java · Apache-2.0 · updated Jul 2024

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

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.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →