Spring Cloud shopping cart instance, the basic framework can be directly used for enterprise development, very classic

Crazy maker circle: spring boot, spring cloud architecture exchange. Please join the QQ group to join the circle to learn and communicate, so that everyone can learn, communicate and grow together .

To enter the QQ group to communicate, please click the link: Crazy Maker Circle QQ Group



Today, I will share an open source project Spring Cloud with the IT makers in the circle: an example of a distributed architecture of shopping carts, front-end mall + back-end operation platform, learning of value


Developer: Liu Zhaoming, the code can be downloaded from the code cloud. Search for the project name paascloud-master.

Project Introduction

function points:

The shopping cart mall has a complete shopping process, the back-end operation platform supports the front-end business, and the operation and maintenance of the project, with various monitoring indicators and operation and maintenance indicators.

Technical point:

The core technology is springcloud+vue two whole family buckets. It adopts the goal of using open source for open source. Therefore, it is possible to use open source without charging for the framework. The overall technology stack is only charged for the Alibaba Cloud SMS service, which is currently Java forward-looking. The framework can solve the problem of micro-service architecture for small and medium-sized enterprises, and can help enterprises to quickly build a website. Due to the high cost of servers and the principle of reducing development costs as much as possible, this project consists of 10 back-end projects and 3 front-end projects. It truly realizes the solution of stateless unified authority authentication based on RBAC, jwt and oauth2, realizes the unified management of exceptions and logs, and realizes the solution that MQ landing guarantees 100% arrival. Core Framework: springcloud Edgware Family Bucket Security Framework: Spring Security Spring Cloud Oauth2 Distributed Task Scheduling: elastic-job Persistence Layer Framework: MyBatis, Universal Mapper4, Mybatis_PageHelper Database Connection Pool: Alibaba Druid Log Management: Logback Front-end Framework: Vue Family Bucket and Related components and tripartite services: mail service, Alibaba Cloud SMS service, Qiniu cloud file service, DingTalk robot service, AutoNavi Map API

Platform Directory Structure Description

Architecture diagram

Special Instructions

这里做一个解释由于微服务的拆分受制于服务器,这里我做了微服务的合并,比如OAuth2的认证服务中心和用户中心合并,统一的one service服务中心和用户认证中心合并,支付中心和订单中心合并,其实这也是不得已而为之,只是做了业务微服务中心的合并,并没有将架构中的 注册中心 监控中心 服务发现中心进行合并

项目展示

常见问题

疯狂创客圈:spring boot 、spring cloud 架构交流。入圈学习交流请加QQ群,大家一起学习、交流、成长

交流qq群:104131248

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325733620&siteId=291194637