Coder Social home page Coder Social logo

leaderyangzi / cmall Goto Github PK

View Code? Open in Web Editor NEW

This project forked from will0211/cmall

0.0 0.0 0.0 526 KB

基于SpringBoot2.x、SpringCloud并采用前后端分离的企业级微服务系统架构。并引入组件化的**实现高内聚低耦合,项目代码简洁注释丰富上手容易,适合学习和企业中使用。真正实现了基于RBAC、jwt和oauth2的无状态统一权限认证的解决方案,面向互联网设计同时适合B端和C端用户,支持CI/CD多环境部署,并提供应用管理方便第三方系统接入;同时还集合各种微服务治理功能和监控功能。模块包括:企业级的认证系统、应用监控、Cat监控、统一日志、单点登录、Redis分布式高速缓存、配置中心、分布式任务调度、接口文档、代码生成等等

Java 99.51% FreeMarker 0.49%

cmall's Introduction

Spring Cloud 实战项目

项目介绍

基于SpringBoot2.x、SpringCloud并采用前后端分离的企业级微服务系统架构。
并引入组件化的**实现高内聚低耦合,项目代码简洁注释丰富上手容易,适合学习和企业中使用。
真正实现了基于RBAC、jwt和oauth2的无状态统一权限认证的解决方案,
面向互联网设计同时适合B端和C端用户,支持CI/CD多环境部署,
并提供应用管理方便第三方系统接入;
同时还集合各种微服务治理功能和监控功能。
模块包括:企业级的认证系统、应用监控、Cat监控、统一日志、
可靠消息系统、单点登录、Redis分布式高速缓存、配置中心、分布式任务调度、接口文档、代码生成等等

SpringBoot2.0+SpringCloud 构建微服务电商商城。

  • 完整的购物流程
  • 运营管理及权限管理
  • oauth授权中心+单点登录+第三方登录
  • 支付宝微信支付
  • 调用链及JVM监控及接口耗时监控
  • 可靠消息系统
  • 数据服务中心
  • 授权服务中心
  • 订单服务中心
  • 消息服务中心
  • 外部对接服务中心
  • 七牛云上传下载
  • 邮件短信发送

技术栈

核心框架:springcloud Edgware全家桶
安全框架:Spring Security Spring Cloud Oauth2
分布式缓存:redis
分布式消息队列:RocketMQ
分布式任务调度:elastic-job
持久层框架:MyBatis、通用Mapper4、Mybatis_PageHelper
数据库连接池:Alibaba Druid
日志管理:Logback
前端框架:Vue全家桶以及相关组件
三方服务: 邮件服务、阿里云短信服务、七牛云文件服务、钉钉机器人服务、高德地图API

架构图

工程结构

├─cmall----------------------------父项目,公共依赖
│  │
│  ├─cmall-eureka--------------------------微服务注册中心
│  │
│  ├─cmall-gateway--------------------------微服务网关中心
│  │
│  ├─cmall-service
│  │  │
│  │  ├─cmall-service-mdc------------------数据服务中心
│  │  │
│  │  ├─cmall-service-omc------------------订单服务中心
│  │  │
│  │  ├─cmall-service-opc------------------对接服务中心
│  │  │
│  │  ├─cmall-service-tpc------------------任务服务中心
│  │  │
│  │  └─cmall-service-auth------------------用户服务中心
│  │
│  ├─cmall-service-api
│  │  │
│  │  ├─cmall-service-mdc-api------------------数据服务中心API
│  │  │
│  │  ├─cmall-service-omc-api------------------订单服务中心API
│  │  │
│  │  ├─cmall-service-opc-api------------------对接服务中心API
│  │  │
│  │  ├─cmall-service-tpc-api------------------任务服务中心API
│  │  │
│  │  ├─cmall-service-sdk-api------------------可靠消息服务API
│  │  │
│  │  └─cmall-service-auth-api------------------用户服务中心API
│  │
│  ├─cmall-common
│  │  │
│  │  ├─cmall-common-base------------------公共POJO基础包
│  │  │
│  │  ├─cmall-common-config------------------公共配置包
│  │  │
│  │  ├─cmall-common-core------------------微服务核心依赖包
│  │  │
│  │  ├─cmall-common-util------------------公共工具包
│  │  │
│  │  ├─cmall-common-zk------------------zookeeper配置
│  │  │
│  │  ├─cmall-security-app------------------公共无状态安全认证
│  │  │
│  │  ├─cmall-security-core------------------安全服务核心包
│  │  │
│  │  └─cmall-security-feign------------------基于auth2的feign配置

文档及演示

文档地址

商城系统

文档及演示

文档地址

cmall's People

Contributors

will0211 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.