// the find
gz-yami/mall4cloud
⭐️⭐️⭐️微服务商城系统 springcloud微服务商城 小程序商城
mall4cloud is a B2B2C e-commerce platform built on Spring Cloud microservices, targeting Chinese mid-to-large enterprises wanting a multi-vendor marketplace. It covers the full stack: Spring Boot 4 backend split into ~12 services, Vue 3 admin frontends, and a uni-app mobile client. The architecture is textbook Chinese internet-style: Nacos for service discovery, Seata for distributed transactions, RocketMQ for async events, canal for MySQL CDC into Elasticsearch.
The middleware stack is genuinely complete — Seata distributed transactions across order/payment/inventory services is the hard part of e-commerce and they've actually done it, not punted on it. Canal CDC pipeline keeping Elasticsearch in sync with MySQL product data is the right call for search at scale, avoiding dual-write bugs. The layered architecture (Controller → Service → Manager → Mapper) is applied consistently, which makes the codebase navigable even if it's verbose. They've shipped the full order state machine with documented transitions — most open-source commerce projects skip this.
The license is AGPLv3, which means if you deploy this in a SaaS product you must open-source your entire application — that's a dealbreaker most people discover after forking. The whole setup requires Nacos, Seata, RocketMQ, canal, Elasticsearch, MinIO, and Redis running before a single service starts; local dev is a significant infrastructure problem the docker-compose only partially solves. Documentation is primarily in Chinese with no English translation, so the audience is narrower than the stars suggest. The SQL schema is shipped as raw dump files rather than migrations, meaning schema evolution across versions is a manual diff-and-pray exercise.