- Quick trial project : online access address.
- A complete set of learning tutorials : "Mall Learning Tutorial".
- Video tutorial (latest version) : "mall video tutorial".
- Microservice version : Project based on Spring Cloud Alibaba: mall-swarm.
- Branch description :
master
branch is based on Spring Boot 2.7+JDK 8, anddev-v3
branch is based on Spring Boot 3.2+JDK 17.
The mall
project is committed to building a complete e-commerce system, which is implemented using current mainstream technologies.
Document address: https://www.macrozheng.com
mall
project is an e-commerce system, including a front-end mall system and a back-end management system. It is implemented based on SpringBoot+MyBatis and deployed using Docker containerization. The front-end mall system includes modules such as homepage portal, product recommendation, product search, product display, shopping cart, order process, member center, customer service, and help center. The backend management system includes modules such as product management, order management, membership management, promotion management, operations management, content management, statistical reports, financial management, authority management, and settings.
Front-end project mall-admin-web
address: https://github.com/macrozheng/mall-admin-web
Project demonstration address: https://www.macrozheng.com/admin/index.html
Front-end project mall-app-web
address: https://github.com/macrozheng/mall-app-web
Project demonstration address (switch the browser to mobile mode for better results): https://www.macrozheng.com/app/
mall
├── mall - common -- 工具类及通用代码
├── mall - mbg -- MyBatisGenerator生成的数据库操作代码
├── mall - security -- SpringSecurity封装公用模块
├── mall - admin -- 后台商城管理系统接口
├── mall - search -- 基于Elasticsearch的商品搜索系统
├── mall - portal -- 前台商城系统接口
└── mall - demo -- 框架搭建时的测试代码
technology | illustrate | 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 storage | 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 tools | 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 tool library | https://github.com/looly/hutool |
PageHelper | MyBatis physical paging plug-in | http://git.oschina.net/free/Mybatis_PageHelper |
Swagger-UI | API documentation generation tool | https://github.com/swagger-api/swagger-ui |
Hibernator-Validator | Validation framework | http://hibernate.org/validator |
technology | illustrate | Official website |
---|---|---|
Vue | front-end framework | https://vuejs.org/ |
Vue-router | routing framework | https://router.vuejs.org/ |
Vuex | Global state management framework | https://vuex.vuejs.org/ |
Element | Front-end UI framework | https://element.eleme.io |
Axios | Front-end HTTP framework | https://github.com/axios/axios |
v-charts | Chart framework based on Echarts | https://v-charts.js.org/ |
Js-cookie | cookie management tools | https://github.com/js-cookie/js-cookie |
progress | progress bar control | https://github.com/rstacruz/nprogress |
technology | illustrate | Official website |
---|---|---|
Vue | Core front-end framework | https://vuejs.org |
Vuex | Global state management framework | https://vuex.vuejs.org |
uni-app | Mobile front-end 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 |
mall-admin
mall-portal
Functional structure diagram-front desk.jpg
tool | illustrate | Official website |
---|---|---|
IDEA | Development IDE | https://www.jetbrains.com/idea/download |
RedisDesktop | redis client connection tool | https://github.com/qishibo/AnotherRedisDesktopManager |
Robomongo | mongo 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 tools | http://powerdesigner.de/ |
Axure | prototyping tools | https://www.axure.com/ |
MindMaster | Mind mapping design tool | http://www.edrawsoft.cn/mindmaster |
ScreenToGif | gif recording tool | https://www.screentogif.com/ |
ProcessOn | Flow chart drawing tool | https://www.processon.com/ |
PicPick | Image processing tools | https://picpick.app/zh/ |
Snipaste | Screenshot tool | https://www.snipaste.com/ |
Postman | API interface debugging tool | https://www.postman.com/ |
Typora | Markdown editor | https://typora.io/ |
tool | version number | download |
---|---|---|
JDK | 1.8 | https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.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 |
Windows environment deployment
mall-admin
module, you only need to install MySQL and Redis;mall-admin-web
project and import it into IDEA to complete compilation: front-end project address;mall-admin-web
project, please refer to: Building the front-end development environment of the mall project.Docker environment deployment
Join the WeChat group to communicate, follow the public account " macrozheng ", and reply " add to the group ".
Apache License 2.0
Copyright (c) 2018-2024 macrozheng