Use this project as a blueprint to build a production-grade online store with separate microservices for products, orders, and user authentication.
Study how Spring Cloud, Elasticsearch, Redis, and RabbitMQ work together in a real Java e-commerce application.
Deploy the microservices using Docker and Kubernetes for hands-on cloud-native Java development practice.
Start from this codebase and add your own product catalog, payment integration, and storefront branding.
Requires running MySQL, Redis, Elasticsearch, RabbitMQ, MongoDB, and Kubernetes, significant infrastructure to set up locally.
mall-swarm is a complete e-commerce platform built with a microservices architecture, meaning it is split into many smaller independent services rather than one large application. It is written primarily in Java and is designed to serve as a learning reference and a practical starting point for developers who want to build a production-grade online store. The README and documentation are written in Chinese. The platform covers the typical pieces of a real e-commerce system: a backend admin panel for managing products and orders, a storefront for customers (optimized for mobile), product search, user authentication, and system monitoring. These are each separated into their own service within the project, so teams can work on them independently or scale them separately. On the technical side, the project pulls together a large number of well-known tools and frameworks. Spring Cloud and Spring Cloud Alibaba handle service communication and coordination. Spring Boot provides the application server base. MyBatis connects to the MySQL database. Elasticsearch powers product search. Redis handles caching. RabbitMQ manages background message queues. MongoDB stores certain types of data. Docker and Kubernetes are used for packaging and running the services in containers. The admin panel and customer-facing storefront are built with Vue, a JavaScript frontend framework. The project is organized into several modules: shared utilities, database code generation, an authentication service, an API gateway, a monitoring dashboard, the main admin service, the search service, the customer portal service, and a demo service for testing remote calls. Setup instructions are provided for Windows development environments and reference a companion learning site with video tutorials and full Spring Cloud guides. The project also links to related repositories for the admin frontend and the mobile storefront frontend.
← macrozheng on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.