Joke Collection Website - Public benefit messages - Based on Spring SpringMVC Mybatis distributed agile development system architecture (source code attached)
Based on Spring SpringMVC Mybatis distributed agile development system architecture (source code attached)
Foreword
The zheng project is not just a development architecture, but strives to create a set of front-end templates - basic framework - distributed architecture - open source projects - continuous integration - automated deployment - System Monitoring - A comprehensive J2EE enterprise-level development solution with seamless upgrades.
Project introduction
Based on the Spring SpringMVC Mybatis distributed agile development system architecture, it provides a complete set of public microservice service modules: content management, payment center, user management (including third-party ), WeChat platform, storage system, configuration center, log analysis, tasks and notifications, etc., support service governance, monitoring and tracking, and strive to create comprehensive J2EE enterprise-level development solutions for small and medium-sized enterprises.
Technology
Name
Official website
Technology
Name
Official website
p>
Architecture diagram
Module dependencies
Spring SpringMVC Mybatis framework integrates public modules, including public configuration, MybatisGenerator extension plug-in, general BaseService, and tool classes wait.
A universal back-end management system based on the responsive Material Design style implemented by bootstrap. All back-end systems of the zheng project use this module interface as the front-end display.
The front-end thymeleaf template and front-end resource module of each subsystem use nginx proxy to achieve dynamic and static separation.
This system is a universal platform for fine-grained permission control based on RBAC authorization and user authorization, and provides single sign-on, session management and log management. The connected system can freely define organizations, roles, permissions, resources, etc. User permissions = collection of role permissions owned by user plus permissions - user minus permissions, priority: user minus permissions gt; user plus permissions gt; role permissions
The file storage system provides four solutions:
Alibaba Cloud OSS
The service gateway exposes unified and standardized interfaces and packaging response results to the outside world, including interactive interfaces of each subsystem, external open interfaces, development encryption interfaces, interface documents and other services. This module supports signature verification, authentication, routing, current limiting, monitoring, fault tolerance, logging and other functions. Example diagram:
API gateway
Content management system: supports content management of multiple tags, multiple categories, and powerful comments, with basic single-page display, menu management, system settings and other functions .
Unified scan code payment
Universal user management system, realizing the most commonly used basic needs such as user registration, login, data management, personal center, third-party login, etc., and supporting the expansion of secondary development .
The WeChat public account management platform not only implements basic functions such as automatic reply, menu management, material management, user management, and mass messaging in the official website backend, but also provides QR code promotion, marketing activities, microsites, and membership Cards, coupons, etc.
WeChat Mini Program Backend
Implement SocketIO real-time push system based on Netty. Supports namespace, binary data, SSL, ACK and other functions.
Environment setup
Development guide
Just compile and install the zheng/pom.xml file with maven
Start the demo
Convention over configuration, this framework agrees on many programming specifications, which are listed below:
Database model
Topology diagram
- Related articles
- Couples' space background map, couples' show and love special map.
- How to light the icon of Weibo Daren?
- How to get verification code quickly
- Middle school students are too young to control themselves. It's a waste of time to play games and send text messages on your mobile phone.
- How to shorten the link?
- How to get Bai Hua not to send a text message (just close it in three steps)
- You can't send text messages on your mobile phone number.
- How did the card become the original file when oppo SMS was sent?
- Three creative greetings for the 2020 Lantern Festival
- What should I do if I am harassed by anonymous SMS?