Source sharing! Based on springboot2. X, spring cloud and springcloudalibaba, the enterprise microservice agile development system architecture based on the separation of front end and back end is adopted

I'm sorry. 2020-11-10 10:57:03
source sharing based springboot2. springboot


be based on springboot cloud Build a mall project , Including front-end , Back end and h5 application , Applet , As zscat Template project for application practice . be based on SpringBoot2.x、SpringCloud and SpringCloudAlibaba And adopt the enterprise level micro service agile development system architecture which is separated from the front and back end . And introduce the idea of component to realize high cohesion and low coupling ,[ WeChat + Alipay + Baidu + headlines ] Applet + APP + official account + PC + H5 It's easy to get started with simple code and rich comments , Suitable for learning and use in enterprises . It is based on RBAC、jwt and oauth2 The solution of stateless unified authority authentication , Internet oriented design is also suitable for B End sum C End user , Support CI/CD Multi environment deployment , Points Mall , Distribution mall and provide application management to facilitate the access of third-party systems ; At the same time, it also integrates various micro service governance functions and monitoring functions . Modules include : Enterprise level certification system 、 Development platform 、 Application monitoring 、 slow sql monitor 、 Unified log 、 Single sign on 、Redis Distributed cache 、 Configuration center 、 Distributed task scheduling 、 Interface document 、 Code generation and so on

1. Project technology

  • Enterprise microservice architecture with separation of front end and back end
  • be based on Spring Boot 2.0.X、Spring Cloud Finchley and Spring Cloud Alibaba
  • The depth of the custom Spring Security It is based on RBAC、jwt and oauth2 The solution of stateless unified authority authentication
  • Provide application management , Convenient access to third-party systems
  • The idea of component is introduced to realize high cohesion and low coupling , It's easy to get started with simple code and rich comments
  • Focus on code specification , Strictly control package dependencies , Every project is basically minimal dependency
  • It is very suitable for learning and enterprise use

2. The overall structure of the project

Need to get source code friends like this article + Pay attention to me , Sweep the code for !

 be based on SpringBoot Cloud Build a mall project source sharing

 

3. Function is introduced

  • Unified authentication function Support oauth2 Four modes of login support user name 、 Password Plus Graphic verification code login support mobile phone number plus password login support openId Login supports single sign on of third party system
  • Basic support of distributed system Service registration found 、 Routing and load balancing service degradation and fusing service current limiting (url/ The method level ) Unified configuration center unified log center unified distributed cache operation class 、cacheManager Configure extended distributed lock distributed task scheduler support CI/CD Continuous integration ( Including front end and back end ) Distributed high performance Id Generating distributed transactions
  • System monitoring function Service call chain monitoring application topology map slow service detection service Metric Monitoring application monitoring ( Applied health 、JVM、 Memory 、 Threads ) Error log query slow query SQL Monitoring application throughput monitoring (qps、rt) service degradation 、 Fuse monitoring service current limiting monitoring sub database sub table 、 Read / write separation
  • Business basic function support High performance method level idempotency support RBAC Rights management , Implement fine-grained control ( Method 、url Level ) Fast implementation of import 、 Export function database access layer is realized automatically crud The operation code generator is based on Hutool Gateway is a convenient development tool for all services Swagger Unified cross domain processing of interface documents and unified exception handling

4. The module specification

mallcloud -- Parent project , Public dependence 
│ ├─mall-business -- Business module level I Project 
│ │ ├─user-center -- User center [7000]
│ │ ├─file-center -- File center [5000]
│ │ ├─member-center -- Membership Center [7001]
│ │ ├─goods-center -- Commodity Center [7002]
│ │ ├─order-center -- Order center [7003]
│ │ ├─marking-center -- Marketing center [7004]
│ │─mall-commons -- General tool level I Engineering 
│ │ ├─mall-auth-client-spring-boot-starter -- encapsulation spring security client The general logic end 
│ │ ├─mall-common-spring-boot-starter -- Encapsulate general operation logic 
│ │ ├─mall-db-spring-boot-starter -- Encapsulate the general operation logic of database 
│ │ ├─mall-log-spring-boot-starter -- encapsulation log General operating logic 
│ │ ├─mall-redis-spring-boot-starter -- encapsulation Redis General operating logic 
│ │ ├─mall-ribbon-spring-boot-starter -- encapsulation Ribbon and Feign General operation logic of 
│ │ ├─mall-sentinel-spring-boot-starter -- encapsulation Sentinel General operation logic of 
│ │ ├─mall-swagger2-spring-boot-starter -- encapsulation Swagger General operating logic 
│ ├─mall-config -- Configuration center 
│ ├─mall-doc -- Project documentation 
│ ├─mall-gateway -- api Gateway level I Project 
│ │ ├─zuul-gateway -- netflix-zuul[8080]
│ ├─mall-job -- The first level project of distributed task scheduling 
│ │ ├─job-admin -- Task manager [8081]
│ │ ├─job-core -- Task scheduling core code 
│ │ ├─job-executor-samples -- Task executor executor Examples [8082]
│ ├─mall-monitor -- Monitoring the first level project 
│ │ ├─sc-admin -- Application monitoring [6500]
│ │ ├─log-center -- Log center [6200]
│ ├─mall-uaa -- spring-security authentication center [8000]
│ ├─mall-register -- Registry Center Nacos[8848]
│ ├─mall-transaction -- Business level one engineering 
│ │ ├─txlcn-tm -- tx-lcn Transaction manager [7970]
│ ├─mall-demo -- demo First class project 
│ │ ├─txlcn-demo -- txlcn Of demo
│ │ ├─sharding-jdbc-demo -- sharding-jdbc Of demo

Background function list

 be based on SpringBoot Cloud Build a mall project source sharing

 

Applet function list

 be based on SpringBoot Cloud Build a mall project source sharing

 

uniapp

uni-app It's a use Vue.js Develop a front-end framework for cross platform applications , Developers write a set of code , Can be compiled to iOS、Android、H5、 Small programs and other platforms .

5. Screenshot ( Click to preview )

 be based on SpringBoot Cloud Build a mall project source sharing

 

 be based on SpringBoot Cloud Build a mall project source sharing

 

 be based on SpringBoot Cloud Build a mall project source sharing

 

 be based on SpringBoot Cloud Build a mall project source sharing

 

 be based on SpringBoot Cloud Build a mall project source sharing

 

 be based on SpringBoot Cloud Build a mall project source sharing

 

 be based on SpringBoot Cloud Build a mall project source sharing

 

 be based on SpringBoot Cloud Build a mall project source sharing

 

Need to get source code friends like this article + Pay attention to me , Sweep the code for !

版权声明
本文为[I'm sorry.]所创,转载请带上原文链接,感谢

  1. 【计算机网络 12(1),尚学堂马士兵Java视频教程
  2. 【程序猿历程,史上最全的Java面试题集锦在这里
  3. 【程序猿历程(1),Javaweb视频教程百度云
  4. Notes on MySQL 45 lectures (1-7)
  5. [computer network 12 (1), Shang Xuetang Ma soldier java video tutorial
  6. The most complete collection of Java interview questions in history is here
  7. [process of program ape (1), JavaWeb video tutorial, baidu cloud
  8. Notes on MySQL 45 lectures (1-7)
  9. 精进 Spring Boot 03:Spring Boot 的配置文件和配置管理,以及用三种方式读取配置文件
  10. Refined spring boot 03: spring boot configuration files and configuration management, and reading configuration files in three ways
  11. 精进 Spring Boot 03:Spring Boot 的配置文件和配置管理,以及用三种方式读取配置文件
  12. Refined spring boot 03: spring boot configuration files and configuration management, and reading configuration files in three ways
  13. 【递归,Java传智播客笔记
  14. [recursion, Java intelligence podcast notes
  15. [adhere to painting for 386 days] the beginning of spring of 24 solar terms
  16. K8S系列第八篇(Service、EndPoints以及高可用kubeadm部署)
  17. K8s Series Part 8 (service, endpoints and high availability kubeadm deployment)
  18. 【重识 HTML (3),350道Java面试真题分享
  19. 【重识 HTML (2),Java并发编程必会的多线程你竟然还不会
  20. 【重识 HTML (1),二本Java小菜鸟4面字节跳动被秒成渣渣
  21. [re recognize HTML (3) and share 350 real Java interview questions
  22. [re recognize HTML (2). Multithreading is a must for Java Concurrent Programming. How dare you not
  23. [re recognize HTML (1), two Java rookies' 4-sided bytes beat and become slag in seconds
  24. 造轮子系列之RPC 1:如何从零开始开发RPC框架
  25. RPC 1: how to develop RPC framework from scratch
  26. 造轮子系列之RPC 1:如何从零开始开发RPC框架
  27. RPC 1: how to develop RPC framework from scratch
  28. 一次性捋清楚吧,对乱糟糟的,Spring事务扩展机制
  29. 一文彻底弄懂如何选择抽象类还是接口,连续四年百度Java岗必问面试题
  30. Redis常用命令
  31. 一双拖鞋引发的血案,狂神说Java系列笔记
  32. 一、mysql基础安装
  33. 一位程序员的独白:尽管我一生坎坷,Java框架面试基础
  34. Clear it all at once. For the messy, spring transaction extension mechanism
  35. A thorough understanding of how to choose abstract classes or interfaces, baidu Java post must ask interview questions for four consecutive years
  36. Redis common commands
  37. A pair of slippers triggered the murder, crazy God said java series notes
  38. 1、 MySQL basic installation
  39. Monologue of a programmer: despite my ups and downs in my life, Java framework is the foundation of interview
  40. 【大厂面试】三面三问Spring循环依赖,请一定要把这篇看完(建议收藏)
  41. 一线互联网企业中,springboot入门项目
  42. 一篇文带你入门SSM框架Spring开发,帮你快速拿Offer
  43. 【面试资料】Java全集、微服务、大数据、数据结构与算法、机器学习知识最全总结,283页pdf
  44. 【leetcode刷题】24.数组中重复的数字——Java版
  45. 【leetcode刷题】23.对称二叉树——Java版
  46. 【leetcode刷题】22.二叉树的中序遍历——Java版
  47. 【leetcode刷题】21.三数之和——Java版
  48. 【leetcode刷题】20.最长回文子串——Java版
  49. 【leetcode刷题】19.回文链表——Java版
  50. 【leetcode刷题】18.反转链表——Java版
  51. 【leetcode刷题】17.相交链表——Java&python版
  52. 【leetcode刷题】16.环形链表——Java版
  53. 【leetcode刷题】15.汉明距离——Java版
  54. 【leetcode刷题】14.找到所有数组中消失的数字——Java版
  55. 【leetcode刷题】13.比特位计数——Java版
  56. oracle控制用户权限命令
  57. 三年Java开发,继阿里,鲁班二期Java架构师
  58. Oracle必须要启动的服务
  59. 万字长文!深入剖析HashMap,Java基础笔试题大全带答案
  60. 一问Kafka就心慌?我却凭着这份,图灵学院vip课程百度云