@CycleDecoded: Unbelievable — an entire e-commerce system that outsourcing companies quote over 100,000 yuan for has been fully open-sourced by a GitHub legend. Freebie lovers rejoice! This project is macrozheng/mall, an absolute gem in the Java dev world with over 70,000 stars on GitHub. It's not just some half-baked product; it's a fully functional frontend store + backend management system. Under the hood, Spring Boot + MyBatis runs smoothly, and even Docker containerized deployment is prepared for you — it's a complete, out-of-the-box solution.
Summary
Introducing the open-source e-commerce system macrozheng/mall, which includes a frontend store and backend management system, built on Spring Boot + MyBatis, supports Docker container deployment, and has earned over 70k stars on GitHub.
View Cached Full Text
Cached at: 07/11/26, 03:27 PM
Unbelievable! Outsourcing companies quote over 100,000 RMB for a full e-commerce system, but a GitHub superstar has open-sourced the whole thing, exposing all the secrets. Freeloaders rejoice! This project is macrozheng/mall, definitely the crown jewel of the Java development community, boasting over 70,000 stars on GitHub. This is no crippled half-baked product; it’s a fully functional front-end mall + back-end management system. It runs solidly on Spring Boot + MyBatis, and even includes Docker containerized deployment—basically a ready-to-use system handed to you on a silver platter. How powerful is it? The front end is ready to sell: homepage recommendations, shopping cart, order flow, member center—all included, mimicking top-tier company experience. The back-end management is awesome: product management, promotions, finance, permissions, reports—all the data the boss needs to monitor. One-click deployment: full Docker setup, no need to struggle with configuration. Save money and make money: use it directly to run your own e-commerce, or customize it for freelance projects. GitHub link: https://github.com/macrozheng/mall
macrozheng/mall
Source: https://github.com/macrozheng/mall
mall
Friendly Reminder
- Quick Experience: Online access at (https://www.macrozheng.com/admin/index.html).
- Complete Tutorials: “Mall Learning Tutorials” (https://www.macrozheng.com).
- Video Tutorials: “Mall Video Tutorials” (https://www.macrozheng.com/mall/catalog/mall_video.html).
- Microservice Version: Based on Spring Cloud Alibaba: mall-swarm (https://github.com/macrozheng/mall-swarm).
- Branch Notes: The
masterbranch is based on Spring Boot 3.5+JDK 17, thedev-v2branch is based on Spring Boot 2.7+JDK 8.
Foreword
The mall project aims to build a complete e-commerce system using current mainstream technologies.
Project Documentation
Documentation URL: https://www.macrozheng.com
Project Introduction
The mall project is an e-commerce system that includes a front-end mall system and a back-end management system. It is implemented with SpringBoot+MyBatis and deployed using Docker containers. The front-end mall system includes modules such as homepage portal, product recommendations, product search, product display, shopping cart, order process, member center, customer service, help center, etc. The back-end management system includes modules such as product management, order management, member management, promotion management, operations management, content management, statistics reports, financial management, permission management, settings, etc.
Project Demo
Backend Management System
Front-end project mall-admin-web URL: https://github.com/macrozheng/mall-admin-web
Project demo URL: https://www.macrozheng.com/admin/index.html
Backend management system feature demo
Frontend Mall System
Front-end project mall-app-web URL: https://github.com/macrozheng/mall-app-web
Project demo URL (for best effect, switch browser to mobile mode): https://www.macrozheng.com/app/
Frontend mall system feature demo
Project Structure
mall
├── mall-common -- Utility classes and common code
├── mall-mbg -- Database operation code generated by MyBatisGenerator
├── mall-security -- SpringSecurity encapsulated common module
├── mall-admin -- Backend mall management system API
├── mall-search -- Product search system based on Elasticsearch
├── mall-portal -- Frontend mall system API
└── mall-demo -- Test code during framework setup
Technology Stack
Backend Technology
| Technology | Description | Official Website |
|---|---|---|
| SpringBoot | Web application development framework | https://spring.io/projects/spring-boot |
| SpringSecurity | Authentication and authorization framework | https://spring.io/projects/spring-security |
| MyBatis | ORM framework | http://www.mybatis.org/mybatis-3/zh/index.html |
| MyBatisGenerator | Data layer code generator | http://www.mybatis.org/generator/index.html |
| Elasticsearch | Search engine | https://github.com/elastic/elasticsearch |
| RabbitMQ | Message queue | https://www.rabbitmq.com/ |
| Redis | In-memory data store | https://redis.io/ |
| MongoDB | NoSQL database | https://www.mongodb.com |
| LogStash | Log collection tool | https://github.com/elastic/logstash |
| Kibana | Log visualization tool | https://github.com/elastic/kibana |
| Nginx | Static resource server | https://www.nginx.com/ |
| Docker | Application container engine | https://www.docker.com |
| Jenkins | Automated deployment tool | https://github.com/jenkinsci/jenkins |
| Druid | Database connection pool | https://github.com/alibaba/druid |
| OSS | Object storage | https://github.com/aliyun/aliyun-oss-java-sdk |
| MinIO | Object storage | https://github.com/minio/minio |
| JWT | JWT login support | https://github.com/jwtk/jjwt |
| Lombok | Java language enhancement library | https://github.com/rzwitserloot/lombok |
| Hutool | Java utility class library | https://github.com/looly/hutool |
| PageHelper | MyBatis physical pagination plugin | http://git.oschina.net/free/Mybatis_PageHelper |
| SpringDoc | API documentation generation tool | https://github.com/springdoc/springdoc-openapi |
| Hibernator-Validator | Validation framework | http://hibernate.org/validator |
Frontend Technology
| Technology | Description | Official Website |
|---|---|---|
| Vue | Frontend framework | https://vuejs.org/ |
| Vue-router | Routing framework | https://router.vuejs.org/ |
| Vuex | Global state management framework | https://vuex.vuejs.org/ |
| Element | Frontend UI framework | https://element.eleme.io |
| Axios | Frontend HTTP framework | https://github.com/axios/axios |
| v-charts | Chart framework based on Echarts | https://v-charts.js.org/ |
| Js-cookie | Cookie management tool | https://github.com/js-cookie/js-cookie |
| nprogress | Progress bar control | https://github.com/rstacruz/nprogress |
Mobile Technology
| Technology | Description | Official Website |
|---|---|---|
| Vue | Core frontend framework | https://vuejs.org |
| Vuex | Global state management framework | https://vuex.vuejs.org |
| uni-app | Mobile frontend framework | https://uniapp.dcloud.io |
| mix-mall | E-commerce project template | https://ext.dcloud.net.cn/plugin?id=200 |
| luch-request | HTTP request framework | https://github.com/lei-mu/luch-request |
Architecture Diagrams
System Architecture Diagram

Business Architecture Diagram

Module Introduction
Backend Management System mall-admin
- Product Management: Product Feature Structure Diagram.jpg
- Order Management: Order Feature Structure Diagram.jpg
- Promotion Management: Promotion Feature Structure Diagram.jpg
- Content Management: Content Feature Structure Diagram.jpg
- User Management: User Feature Structure Diagram.jpg
Frontend Mall System mall-portal
Frontend Feature Structure Diagram.jpg
Development Progress

Environment Setup
Development Tools
| Tool | Description | Official Website |
|---|---|---|
| IDEA | Development IDE | https://www.jetbrains.com/idea/download |
| RedisDesktop | Redis client connection tool | https://github.com/qishibo/AnotherRedisDesktopManager |
| Robomongo | MongoDB client connection tool | https://robomongo.org/download |
| SwitchHosts | Local host management | https://oldj.github.io/SwitchHosts/ |
| X-shell | Linux remote connection tool | http://www.netsarang.com/download/software.html |
| Navicat | Database connection tool | http://www.formysql.com/xiazai.html |
| PowerDesigner | Database design tool | http://powerdesigner.de/ |
| Axure | Prototype design tool | https://www.axure.com/ |
| MindMaster | Mind map design tool | http://www.edrawsoft.cn/mindmaster |
| ScreenToGif | GIF recording tool | https://www.screentogif.com/ |
| ProcessOn | Flowchart drawing tool | https://www.processon.com/ |
| PicPick | Image processing tool | https://picpick.app/zh/ |
| Snipaste | Screenshot tool | https://www.snipaste.com/ |
| Postman | API debugging tool | https://www.postman.com/ |
| Typora | Markdown editor | https://typora.io/ |
Development Environment
| Tool | Version | Download |
|---|---|---|
| JDK | 17 | https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html |
| MySQL | 5.7 | https://www.mysql.com/ |
| Redis | 7.0 | https://redis.io/download |
| MongoDB | 5.0 | https://www.mongodb.com/download-center |
| RabbitMQ | 3.10.5 | http://www.rabbitmq.com/download.html |
| Nginx | 1.22 | http://nginx.org/en/download.html |
| Elasticsearch | 7.17.3 | https://www.elastic.co/downloads/elasticsearch |
| Logstash | 7.17.3 | https://www.elastic.co/cn/downloads/logstash |
| Kibana | 7.17.3 | https://www.elastic.co/cn/downloads/kibana |
Setup Steps
Windows Environment Deployment
- For Windows environment setup, refer to: Mall Deployment on Windows
- Note: If only the
mall-adminmodule is started, only MySQL and Redis need to be installed.- Clone the
mall-admin-webproject and import it into IDEA for compilation: Frontend project URL- For installation and deployment of the
mall-admin-webproject, refer to: Mall Frontend Project Installation and Deployment
Docker Environment Deployment
- For installing CentOS 7.6 on a virtual machine, refer to: Virtual Machine Installation and Linux Usage, This One Is Enough
- For building Docker images for this project, refer to: Using Maven Plugin to Build Docker Images for SpringBoot Applications
- For deploying this project in Docker containers, refer to: Mall Deployment on Linux (Based on Docker Containers)
- For using Docker Compose with this project, refer to: Mall Deployment on Linux (Based on Docker Compose)
- For automated deployment on Linux, refer to: Mall Automated Deployment on Linux (Based on Jenkins)
Related Environment Deployment
- For setting up the ELK log collection system, refer to: Mall ELK Log Collection Solution
- For file storage using MinIO, refer to: Using MinIO for File Storage
- For read-write separation solutions, refer to: Still Doing Read-Write Separation in Code? Try This Middleware
- For Redis cluster solutions, refer to: Quickly Build Redis Cluster in Docker Environment
WeChat Official Account
Join WeChat group for communication, follow the official account 「macrozheng」, reply 「加群」 (Join group) to get the link.

License
Apache License 2.0 (https://github.com/macrozheng/mall/blob/master/LICENSE)
Copyright (c) 2018-2026 macrozheng
Similar Articles
@Ryrenz: SMEs no longer need to pay for commercial WMS systems for warehouse management. This is a completely open-source and free warehouse management system called ModernWMS. The author directly extracted the warehouse module from his years of commercial ERP and made it open-source for free, accumulating over 1500 stars on GitHub. Previously, small companies...
ModernWMS is a completely open-source and free warehouse management system built on .NET 7 and Vue 3, supporting multiple databases and Chinese/English, helping SMEs manage warehouses for free.
@LinxFocus: This is currently the most popular free project treasure trove on GitHub, with an impressive 303K stars. From cloud storage to chat tools, blogs to email services, e-commerce platforms to game development, all software supports self-hosting on your own servers, giving you full control over your data. It's definitely worth collecting. It brings together 1497 projects in 143 categories…
Recommend a free project treasure trove on GitHub with 303K stars, containing 143 categories and 1497 enterprise-quality self-hosted open-source projects, covering cloud storage, chat tools, blogs, email, e-commerce, game development, etc.
@CycleDecoded: Many folks on X who are into price-drop monitoring, ticket grabbing, and deal hunting have been quietly using this tool. This killer GitHub project with 32.6k stars http://changedetection.io is basically a "global webpage watch plugin". Whether it's a price cut, stock replenishment, a silent webpage patch, ...
Introducing changedetection.io, an open-source webpage change monitoring tool that supports AI summaries, visual selection of monitored areas, multiple notification channels, and Docker private deployment.
@waveking1314: Holy cow, there are a ton of ridiculously free projects on GitHub. Many of them can already replace the software you're paying for monthly. 1. TradingAgents AI multi-agent quantitative trading framework https://github.com/TauricResearch/…
Recommends 10 high-quality GitHub open-source projects covering quantitative trading, AI chat, video generation, financial terminal, short video creation, email assistant, voice cloning, OSINT analysis, AI skill library, and API integration platform, many of which are free alternatives to paid software.
@CycleDecoded: Stop paying a fortune for crappy crawler software and paying the IQ tax! This open-source tool is insane — it directly exposes all social media platforms' data. The game for traffic matrix and data monetization players is over! Meet MediaCrawler, a GitHub project with over 54,000 stars. In plain language…
MediaCrawler is an open-source multi-platform social media crawler tool with over 54,000 stars on GitHub. It supports data collection from 7 major platforms including Xiaohongshu, Douyin, Bilibili, etc., and features multi-account, IP proxy, breakpoint resume, and AI integration.