[Open Source] Microservices RBAC, SaaS Multi-Tenant System, and One-Stop Development Platform Based on Mainstream Technology Stacks
![[Open Source] Microservices RBAC, SaaS Multi-Tenant System, and One-Stop Development Platform Based on Mainstream Technology Stacks](https://yy123.ink/api/img/1782593218701-08h51r.jpg)
1. Project Overview
A microservices-based RBAC and SaaS multi-tenant system built on mainstream technology stacks such as Spring Boot 2.7 & 3.0, Spring Cloud & Alibaba, and Spring Authorization Server.
2. Open Source License
Licensed under Apache-2.0
3. Screenshots


System Applications
| RBAC & Data Permissions | ![]() |
![]() |
|---|---|---|
| OAuth2.1 with support for third-party login. Can be extended with custom configurations. | ![]() |
![]() |
| Multi-Tenant | ![]() |
![]() |
| Dynamic Gateway & Dictionary Management | ![]() |
![]() |
| Dynamic Data Sources & Code Generation, | ![]() |
![]() |
| Forced User Logout & Audit Logs | ![]() |
![]() |
4. Feature Overview
Built with Spring Boot and Spring Cloud & Alibaba, providing a one-stop backend development platform dedicated to delivering enterprise-grade development solutions.
-
The distributed version uses the Spring Boot, Spring Cloud, and Spring Cloud Alibaba technology stack.
-
The frontend uses mainstream technology stacks such as Vue3 and TypeScript.
Project Description
Features can be imported as needed.
Loosely coupled, easy to get started, and highly reliable!
❓Other Features
Some features are too advanced to showcase. You are welcome to download the source code and explore them.
5. Tech Stack
During development, we follow Alibaba's coding standards (for details, see the Java Development Manual (Huangshan Edition).pdf included in the project) and use plugins for coding standard checks.


Dependency Versions
|
Dependency |
Version |
|
Spring Boot |
2.7.12 |
|
Spring Cloud |
2021.0.6 |
|
Spring Cloud Alibaba |
2021.0.4.0 |
|
Spring Authorization Serve |
0.4.2 |
|
Mybatis Plus |
3.5.3.1 |
|
Hutool |
5.8.18 |
Branch Description
|
branch |
Description |
|
master |
java8 + springboot 2.7 + springcloud 2021 + spring cloud alibaba |
|
next |
java17 + springboot 3.0 + springcloud 2022 + spring cloud alibaba |
Middleware Dependencies
|
Components |
Enabled by Default |
Required |
Remarks |
|
MySQL |
Yes |
Yes |
Default Database |
|
Redis |
Yes |
Yes |
Redis is used for token storage, caching, and other purposes. |
|
Nacos |
Yes |
Yes |
Configuration and Service Discovery Center |
Overall project structure
art
├── art-api -- API Management
├── art-auth -- Authorization Server
├── art-framework -- General Utility Wrappers
├── art-spring-boot-starter-canal -- Canal-Specific Wrappers
├── art-spring-boot-starter-captcha -- CAPTCHA Wrappers
├── art-spring-boot-starter-core -- Basic Web Configuration
├── art-spring-boot-starter-data-permission -- Data Permission Wrappers
├── art-spring-boot-starter-database -- Multiple Data Sources
├── art-spring-boot-starter-dependencies -- Dependency Management
├── art-spring-boot-starter-doc -- API Documentation
├── art-spring-boot-starter-es -- Elasticsearch Configuration
├── art-spring-boot-starter-feign -- Feign Extensions
├── art-spring-boot-starter-file -- File Management Module
├── art-spring-boot-starter-gateway -- Dynamic Gateway
├── art-spring-boot-starter-hazelcast -- Hazelcast Distributed Cache
├── art-spring-boot-starter-idempotency -- Idempotency Control Component
├── art-spring-boot-starter-jackson -- JSON Serialization Configuration
├── art-spring-boot-starter-log -- Logging Configuration
├── art-spring-boot-starter-mp -- MyBatis-Plus Configuration
├── art-spring-boot-starter-rabbit -- RabbitMQ Message Queue
├── art-spring-boot-starter-quartz -- Quartz Scheduled Tasks
├── art-spring-boot-starter-redis -- Wrappers for Cache, MQ, Key Events, and More
├── art-spring-boot-starter-redisson -- Redisson Distributed Lock-Related Module
├── art-spring-boot-starter-seata -- Distributed Transactions
├── art-spring-boot-starter-security -- Security Module
├── art-spring-boot-starter-sensitive -- Data Masking
├── art-spring-boot-starter-sequence -- ID Generator (Serial Number Generator)
├── art-spring-boot-starter-sms -- Alibaba Cloud SMS Service
├── art-spring-boot-starter-tenant -- SaaS Multi-Tenant Support
├── art-spring-boot-starter-websocket -- websocket
├── art-spring-boot-starter-xss -- XSS Filtering
├── art-spring-boot-starter-xxl-job -- XXL-JOB Configuration
├── art-gateway -- Gateway Module
├── art-server -- System Services
├── art-server-system -- System Management Module
├── art-server-generate -- Code Generator Module
├── art-server-scheduled -- Quartz Scheduled Task Module
├── art-server-z-demos -- Experimental Modules
├──_other -- Project-Related Files
├── db -- Database-Related Files
├── docker -- Docker Environment
Module Structure Explanation
Module Package Structure Design: Using service-system as an Example
service-system
├── controller -- Controllers
├── core -- Core Functions
├── dao -- DAO Layer Wrappers
├── manager -- Atomic Operations
├── service -- Business Logic Processing
Source: Art Official Documentation











