[Open Source] A microservices-based scaffolding tool that generates frontend and backend code with one click, including an RAG knowledge base

Open SourceProcess Management
2026-06-28 06:02 2 次浏览 • 0 次下载 0KB
[Open Source] A microservices-based scaffolding tool that generates frontend and backend code with one click, including an RAG knowledge base

1. Project Overview

twelvet

JDK >= 17

A permission management system based on Spring Cloud Alibaba, integrating popular libraries from the market and serving as a framework for rapid development.

A microservices-based development scaffold built using the Spring Cloud Alibaba ecosystem. Learning about this project will help you quickly master the core fundamentals of microservices. This project aims to eliminate repetitive business code by providing the essential common business logic required by a system. Whether used in a microservices architecture or a monolithic application, these business components are reusable. More importantly, the project is designed to help developers understand microservices concepts and development practices. You can use it to build website administration panels, member centers, CMS, CRM, OA, and other systems. It is not limited to small applications; you can also develop additional service modules and continuously improve the project.

The system was originally designed to help complete business requirements faster, deliver a better user experience, and save more time. It will serve as a foundation for developing practical features. We hope these features will be lightweight, highly portable functional plugins.

2. Open Source License

Licensed under Apache-2.0

3. Screenshots

Demonstration Picture

Image Image
Image Image
Image Image
Image Image

4. Feature Overview

Built-in functions

  1. User Management: Users are system operators, this function mainly completes system user configuration.

  2. Department Management: Configuring system organizational structures (companies, departments, teams), tree structure presentation supports data permissions.

  3. Position Management: Configure system users' positions.

  4. Menu Management: Configure system menus, operation permissions, button permissions, etc.

  5. Role Management: Role menu permission distribution, set role data range permissions by organization.

  6. Dictionary Management: Maintain some fixed data frequently used in the system.

  7. Parameter Management: Dynamically configure common parameters in the system.

  8. Asynchronous Processing: Recording and querying login logs, system operation logs, and system access logs.

  9. Scheduled Tasks: Online task scheduling with support for adding, editing, and deleting tasks, including execution result logs.

  10. Code Generation: Generate frontend and backend CRUD code with one click to accelerate business development.

  11. Service Monitoring: Monitor current system CPU, memory, disk, stack, etc. related information.

  12. Connection Pool Monitoring: Monitor the current system database connection pool status, and analyze SQL to find system performance bottlenecks.

  13. Distributed File Storage.

  14. Aggregated Swagger API Documentation Gateway.

  15. Sentinel Rate Limiting Center.

  16. Nacos Service Registry + Configuration Center.

  17. RAG Knowledge Base

Latest Technology Stack

Built with popular technologies including Spring Boot 3, Spring Cloud Alibaba, Spring OAuth2, React, and Ant Design.

Functionally complete

Includes a complete built-in permission architecture, covering menus, roles, users, dictionaries, parameters, code generation, distributed file storage, distributed transactions, aggregated Swagger documentation, and other common system modules.

Microservices for Solving Complex Problems

Break down our business into separate services so each can fulfill its own responsibilities. Horizontally scale business capabilities across a limited number of services to maximize system availability.

5. Tech Stack

(Spring Boot 3. X Microservices Framework) A microservices framework based on Spring Boot 3.X, Spring Cloud Alibaba / Spring Cloud Tencent, and React. Chat GPT (RAG, TTS, STT, LLM)

Architecture Diagram

Image

✈️✈️✈️Quickly Start Microservices

Memory > 16. You need to install Maven, Docker, Docker Compose, Node, and Yarn manually.

# mvn twelvet
cd ./twelvet && mvn clean && mvn install
# mvn twelvet-auth
cd ../twelvet-auth && mvn clean && mvn install
# mvn twelvet-gateway
cd ../twelvet-gateway && mvn clean && mvn install
# mvn twelvet-server-system
cd ../twelvet-server/twelvet-server-system && mvn clean && mvn install
# Navigate to the script directory
cd ../../docker
# Grant execution permissions
chmod 751 deploy.sh
# Run startup (execute parameters as needed: [init|port|base|server|stop|rm])
# Initialize
./deploy.sh init
# Start basic services
./deploy.sh base
# Start twelvet
./deploy.sh server
# Start UI
./deploy.sh nginx

Branch Description

branch

Description

The original main project code structure has also been deeply adjusted, and the code package has become more reasonable, and the code logic has become clearer.

master

java17 + springboot 3.x + springcloud 2022 + spring cloud alibaba

Main Versions

jdk8

java8 + springboot 2.7.x + springcloud 2021 + spring cloud alibaba

jdk8

spring-cloud-tencent

java17 + springboot 3.x + springcloud 2022 + spring cloud tencent

Demonstration branch. Compatibility with too many new features is not supported.

Project Structure

com.twelvet
├── twelvet-ui              // Frontend framework [80]
├── twelvet-gateway         // Gateway module [88]
├── twelvet-nacos           // nacos [8848]
├── twelvet-auth            // Authentication center [8888]
├── twelvet-api             // API modules
│       └── twelvet-api-system                             // System API
│       └── twelvet-api-dfs                                // DFS API
│       └── twelvet-api-job                                // Scheduled task API
│       └── twelvet-api-ai                                  // AI API
├── twelvet-framework       // Core modules
│       └── twelvet-framework-core                         // Core module
│       └── twelvet-framework-log                          // Logging
│       └── twelvet-framework-datascope                    // Data permissions
│       └── twelvet-framework-jdbc                         // jdbc
│       └── twelvet-framework-swagger                      // swagger documentation
│       └── twelvet-framework-redis                        // Cache service
│       └── twelvet-framework-security                     // Security module
│       └── twelvet-framework-utils                        // Utility module
├── twelvet-server         // Business modules
│       └── twelvet-server-system                          // System module [8081]
│       └── twelvet-server-job                             // Scheduled tasks [8082]
│       └── twelvet-server-dfs                             // DFS service [8083]
│       └── twelvet-server-gen                             // Code generation [8084]
│       └── twelvet-server-ai                               // AI module [8085]
├── twelvet-visual        // Visual management modules
|       └── twelvet-visual-sentinel                        // sentinel [8101]
│       └── twelvet-visual-monitor                         // Monitoring center [8102]
├──pom.xml                // Common dependencies

Open-Source Collaboration

Open-source agreement

twelvet is open-source software licensed under the Apache 2.0 License. Commercial use is permitted, but class author and Copyright information must be retained.

#1
资源直链https://github.com/twelvet-projects/twelvet
去下载
星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare