Spring Cloud Alibaba 微服务商城系统

mall-cloud-alibaba

微服务学习教程

Spring Cloud Alibaba (Nacos,Sentinel,Feign,Gateway,RabbitMQ,Ribbon等)微服务教程

项目介绍

mall-cloud-alibaba 是一套基于开源商城 mall 改造的 spring cloud alibaba 体系微服务商城系统。采用了spring cloud alibaba 、 Spring Cloud Greenwich、Spring Boot 2、MyBatis、Docker、Elasticsearch等核心技术。前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。 后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。

技术栈

  • 注册中心:Nacos
  • 配置中心:Nacos
  • 服务网关:Spring cloud Gateway
  • 服务调用:Spring cloud open-Feign
  • 负载均衡:Spring cloud loadbalancer
  • 链路追踪:zipkin - sleuth
  • 权限认证:Spring secruity
  • 熔断降级:Sentinel
  • 消息队列:RabbitMQ
  • 项目部署:Docker

组织架构

<code>all-cloud-alibaba
├─mall-common     
├─mall-mbg MBG    
├─mall-security   
├─mall-gateway    
├─mall-boot-admin  
├─mall-admin-cms  
├─mall-admin-oms  
├─mall-admin-pms  
├─mall-admin-sms  
├─mall-admin-ums  
└─mall-storage   /<code>

mall实现的功能概览

  • 商品模块商品管理商品分类管理商品类型管理品牌管理
  • 订单模块订单管理订单设置退货申请处理退货原因设置
  • 营销模块秒杀活动管理优惠价管理品牌推荐管理新品推荐管理人气推荐管理专题推荐管理首页广告管理
  • 用户模块用户管理角色管理菜单管理

架构图

Spring Cloud Alibaba 微服务商城系统

构建与运行

开发环境

工具版本号下载JDK1.8https://www.oracle.com/techne...Mysql5.7https://www.mysql.com/Redis3.2https://redis.io/downloadZipkin2.12.9https://zipkin.io/Elasticsearch6.2.2https://www.elastic.co/downloadsMongoDb3.2https://www.mongodb.com/downl...RabbitMq3.7.14http://www.rabbitmq.com/downl...nginx1.10http://nginx.org/en/download....

启动先后顺序

  • 启动

    mall-admin-ums

    模块
  • 启动

    mall-admin-pms

    模块
  • 启动

    mall-admin-cms

    模块
  • 启动

    mall-admin-sms

    模块
  • 启动

    mall-admin-oms

    模块
  • 启动

    mall-storage

    模块
  • 启动

    mall-gateway

    模块
  • 启动

    mall-boot-admin

    模块

代码地址

  • Github: https://github.com/mtcarpenter/mall-cloud-alibaba
  • Gitee: https://gitee.com/mtcarpenter/mall-cloud-alibaba


分享到:


相關文章: