A must-see Spring Cloud real items!

SpringBoot actual electricity supplier item mall (30k + star) Address: github.com/macrozheng/...

Summary

mall-swarmAs mallSpring Cloud version of the project, has been updated to the latest code, the new rights management features. mallProject code will always be kept up to date, mall-swarmeach over a period of time from mallthe merger once the code, this paper introduces the mall-swarmbasic content and learning routes.

mall-swarm Profile

mall-swarmIs a set of micro-service store system that uses a Spring Cloud Greenwich, Spring Boot 2, MyBatis, Docker, Elasticsearch core technology, while providing management based on the background of Vue quickly and easily set up the system. mall-swarmBased on the electricity supplier of integrated business registration center, distribution center, monitoring center, gateway and other system functions.

System Architecture

System Architecture

Back-end technology stack

technology Explanation
Spring Cloud Micro Services Framework
Spring Boot Container + MVC framework
Spring Security Authentication and authorization framework
MyBatis ORM framework
MyBatisGenerator Code generation data layer
PageHelper MyBatis physical page plugin
Swagger-UI Document production tools
Elasticsearch search engine
RabbitMq message queue
Redis Distributed Cache
MongoDb NoSql database
Docker Engine application container
Druid Database connection pool
US Object Storage
minium Object Storage
JWT JWT login support
LogStash Log Collection
chilli Object simplified packaging tools
SEAT Global Transaction Management Framework
Portainer Management Visualization Docker containers
Jenkins Automated deployment tools

Project structure

mall
├── mall-common -- 工具类及通用代码模块
├── mall-mbg -- MyBatisGenerator生成的数据库操作代码模块
├── mall-security -- 封装SpringSecurity+JWT的安全认证的模块
├── mall-registry -- 基于Eureka的微服务注册中心
├── mall-config -- 基于Spring Cloud Config的微服务配置中心
├── mall-gateway -- 基于Spring Cloud Gateway的微服务API网关服务
├── mall-monitor -- 基于Spring Boot Admin的微服务监控中心
├── mall-admin -- 后台管理系统服务
├── mall-search -- 基于Elasticsearch的商品搜索系统服务
├── mall-portal -- 移动端商城系统服务
└── mall-demo -- 微服务远程调用测试服务
复制代码

Learning Path

A friend asked me before, mall-swarmthis project has no tutorials? In fact, the function of this project mallare basically the same project, but on the basis of service into a micro version, just look at what I wrote "mall tutorials" and "Spring Cloud tutorial" button, below I recommend learning to talk route.

Learn mall

"Mall tutorial" is divided into several parts as follows, recommended learning sequence is the following sequence of learning other than the reference papers, papers for reference, we can then learn when to use which related technologies.

  • Prologue: mallthe overall structure and function of the project description, and recommended for novice some relevant information books;
  • Architecture articles: mallproject architecture build tutorial taught you how to build a mallproject using the basic skeleton of the project;
  • Business Review: mallProject electricity supplier business-related course, understanding the business project of great help;
  • Techniques articles: mallSome technical points of analytic projects, focuses on the use of some techniques in the project;
  • Articles deployment: malldeploy tutorial programs, including Windows, Linux and automated deployment scenarios;
  • Reference article: mallProject Getting tutorials techniques and tools used, each one can learn alone, for mallthe project, the degree of in-depth tutorials are just right.

Project Address: github.com/macrozheng/...

Learn SpringCloud

"Spring Cloud tutorial" is a set of tutorials covers most of the core components used, including Spring Cloud Alibaba and distributed transaction Seata, based on Spring Cloud Greenwich and SpringBoot 2.1.7.20 article, Sylvia essence, 30 Demo, covering most application scenarios. mall-swarmThe project used the Spring Cloud technology tutorial covers the basic learning of the course can learn mall-swarmto lay a good Spring Cloud infrastructure projects.

Project Address: github.com/macrozheng/...

Learn mall-swarm

When we learn the "mall tutorials" and "Spring Cloud tutorial" you can start learning mall-swarmthis project. The first need is to press before the tutorial project up and running, then the source of learning, we believe that with the above two sets of tutorial based learning, get to know the source code is not difficult. The following provides lower mall-swarmdeployment tutorial:

Project Address: github.com/macrozheng/...

Docking front-end project

Recently I found that many of my friends use mall-admin-webprograms to dock mall-swarmproject, encountered some problems. It should be reminded that, because our mall-swarmproject uses Spring Cloud Gateway as a gateway service, so front-end gateway service request needs to go, specifically refer to "separation of the front and rear end of the project, the introduction of a Spring Cloud Gateway problem encountered! " .

Project Address: github.com/macrozheng/...

project address

github.com/macrozheng/…

the public

mall project a full tutorial serialized in public concern number the first time to obtain.

No public picture

Guess you like

Origin juejin.im/post/5e68dd5651882549564b6c28