{"id":24922851,"url":"https://github.com/twelvet-projects/twelvet","last_synced_at":"2025-04-07T08:27:00.151Z","repository":{"id":41052736,"uuid":"289691065","full_name":"twelvet-projects/twelvet","owner":"twelvet-projects","description":"（Spring Boot 3. X Microservices framework）  基于Spring Boot 3.X 的 Spring Cloud Alibaba / Spring Cloud Tencent + React的微服务框架。🔝 🔝 点个starrred 关注更新。 ","archived":false,"fork":false,"pushed_at":"2024-09-09T02:08:36.000Z","size":7632,"stargazers_count":209,"open_issues_count":0,"forks_count":48,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-09-09T03:28:20.898Z","etag":null,"topics":["java","java17","jdk17","rbac-management","spring-boot-3","spring-cloud-alibaba","spring-security-oauth2-authorization-server","springboot3","springcloud","springcloudalibaba"],"latest_commit_sha":null,"homepage":"https://doc.twelvet.cn","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/twelvet-projects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":"twelvet","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://twelvet.cn"}},"created_at":"2020-08-23T13:25:23.000Z","updated_at":"2024-09-09T02:08:39.000Z","dependencies_parsed_at":"2024-03-11T04:27:26.887Z","dependency_job_id":"431451a0-aa14-459d-9632-fe218278e2b7","html_url":"https://github.com/twelvet-projects/twelvet","commit_stats":null,"previous_names":["twelvet-s/twelvet"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twelvet-projects%2Ftwelvet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twelvet-projects%2Ftwelvet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twelvet-projects%2Ftwelvet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twelvet-projects%2Ftwelvet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twelvet-projects","download_url":"https://codeload.github.com/twelvet-projects/twelvet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247617639,"owners_count":20967646,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","java17","jdk17","rbac-management","spring-boot-3","spring-cloud-alibaba","spring-security-oauth2-authorization-server","springboot3","springcloud","springcloudalibaba"],"created_at":"2025-02-02T11:33:54.090Z","updated_at":"2025-04-07T08:27:00.107Z","avatar_url":"https://github.com/twelvet-projects.png","language":"Java","readme":"[中文](https://github.com/twelvet-projects/twelvet/blob/master/README_ZH.md) | [English](https://github.com/twelvet-projects/twelvet/blob/master/README.md)\n\n# 🚀twelvet\n\n# JDK \u003e= 17\n\n[![AUR](https://img.shields.io/github/license/twelvet-projects/twelvet)](https://github.com/twelvet-projects/twelvet/blob/master/LICENSE)\n[![](https://img.shields.io/badge/Author-TwelveT-orange.svg)](https://twelvet.cn)\n[![](https://img.shields.io/badge/version-3.2.0-success)](https://github.com/twelvet-projects/twelvet)\n[![GitHub stars](https://img.shields.io/github/stars/twelvet-projects/twelvet.svg?style=social\u0026label=Stars)](https://github.com/twelvet-projects/twelvet/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/twelvet-projects/twelvet.svg?style=social\u0026label=Fork)](https://github.com/twelvet-projects/twelvet/network/members)\n[![star](https://gitee.com/twelvet/twelvet/badge/star.svg?theme=white)](https://gitee.com/twelvet/twelvet/stargazers)\n[![fork](https://gitee.com/twelvet/twelvet/badge/fork.svg?theme=white)](https://gitee.com/twelvet/twelvet/members)\n\nA permission management system based on Spring Cloud Alibaba that integrates popular libraries on the market and can act\nas a framework for rapid development.\n\nA scaffolding framework based on microservices architecture, using the Spring Cloud Alibaba series for architecture.\nLearning and understanding it will enable you to quickly grasp the core basics of microservices. This project aims to\nreduce duplication of business code and has a common core business code that is universal for both microservices and\nmonoliths.\n\nBut more importantly, it is for learning the concept of microservices and development. You can use it for website\nmanagement backstage, website member center, CMS, CRM, OA and other systems development. Of course, not just small\nsystems, we can produce more service modules and continuously improve the project.\n\nThe initial intention of the system is to be able to quickly meet the business needs, to bring better experience and\nmore time. It will be used to incubate some practical functional points. We hope that they are lightweight, highly\nportable functional plugins.\n\nBackend source code: https://github.com/twelvet-projects/twelvet\n\nFrontend source code: https://github.com/twelvet-s/twelvet-ui\n\nTechnical documents: https://doc.twelvet.cn/\n\nOfficial blog: https://twelvet.cn\n\n## 🍎 Branch Description\n\n| Branch               | Description                                                        | Additional Description                                                          |\n|----------------------|--------------------------------------------------------------------|---------------------------------------------------------------------------------|\n| master               | java17 + springboot 3.x + springcloud 2022 + spring cloud alibaba  | master                                                                          |\n| jdk8                 | java8 + springboot 2.7.x + springcloud 2021 + spring cloud alibaba | jdk8                                                                            |\n| spring-cloud-tencent | java17 + springboot 3.x + springcloud 2022 + spring cloud tencent  | Demonstration branch, does not support compatibility with too many new features |\n\n## System Module\n\n~~~\ncom.twelvet     \n├── twelvet-ui              // Front-end Framework [80]\n├── twelvet-gateway         // Gateway module [88]\n├── twelvet-nacos           // nacos [8848]\n├── twelvet-auth            // Authentication Center [8888]\n├── twelvet-api             // Interface module\n│       └── twelvet-api-system                             // System interface\n│       └── twelvet-api-dfs                                // DFS interface\n│       └── twelvet-api-job                                // Scheduled task interface\n│       └── twelvet-api-ai                                  // AI interface\n├── twelvet-framework       // Core module\n│       └── twelvet-framework-core                         // Core module\n│       └── twelvet-framework-log                          // Logging\n│       └── twelvet-framework-datascope                    // Data permission\n│       └── twelvet-framework-jdbc                         // jdbc\n│       └── twelvet-framework-swagger                      // swagger document\n│       └── twelvet-framework-redis                        // Cache service\n│       └── twelvet-framework-security                     // Security module\n│       └── twelvet-framework-utils                        // Tool module\n├── twelvet-server         // Business module\n│       └── twelvet-server-system                          // System module [8081]\n│       └── twelvet-server-job                             // Scheduled task [8082]\n│       └── twelvet-server-dfs                             // DFS service [8083]\n│       └── twelvet-server-gen                             // Code generation [8084]\n│       └── twelvet-server-ai                               // AI module [8085]\n├── twelvet-visual        // Graphic Management Module\n|       └── twelvet-visual-sentinel                        // sentinel [8101]\n│       └── twelvet-visual-monitor                         // Monitoring center [8102]\n├──pom.xml                // Public dependencies\n~~~\n\n## Built-in Functions\n\n1. User management: Users are operators of the system, and this function mainly completes the configuration of system\n   users.\n2. Department management: configure the system organization structure (company, department, group), tree structure\n   display supports data permissions.\n3. Post management: Configure the positions held by system users.\n4. Menu Management: Configure system menus, operation permissions, button permission identifiers, etc.\n5. Role Management: Role menu permission allocation, set role data range permission division by organization.\n6. Dictionary management: Maintain some relatively fixed data commonly used in the system.\n7. Parameter management: Dynamic configuration of commonly used parameters in the system.\n8. Asynchronous: Login log / system operation log / system login log recording and inquiry.\n9. Scheduled task: Online (add, modify, delete) task scheduling includes execution result logs.\n10. Code generation: One-click generation of CRUD front-end and back-end code, providing faster speed for business\n    development.\n11. Service monitoring: Monitor current system CPU, memory, disk, stack and other related information.\n12. Connection pool monitoring: Monitor the status of the current system database connection pool, and analyze SQL to\n    find out the system performance bottleneck.\n13. Distributed file storage.\n14. Swagger gateway aggregation document.\n15. Sentinel flow restriction center.\n16. Nacos registration + configuration center.\n17. RAG knowledge base\n\n## Demonstration\n\n\u003ctable\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\u003cimg src=\"https://static.twelvet.cn/twelvet/1.jpg\"/\u003e\u003c/td\u003e\n        \u003ctd\u003e\u003cimg src=\"https://static.twelvet.cn/twelvet/2.jpg\"/\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\u003cimg src=\"https://static.twelvet.cn/twelvet/3.jpg\"/\u003e\u003c/td\u003e\n        \u003ctd\u003e\u003cimg src=\"https://static.twelvet.cn/twelvet/4.jpg\"/\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\u003cimg src=\"https://static.twelvet.cn/twelvet/5.jpg\"/\u003e\u003c/td\u003e\n        \u003ctd\u003e\u003cimg src=\"https://static.twelvet.cn/twelvet/6.jpg\"/\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\u003cimg src=\"https://static.twelvet.cn/twelvet/7.jpg\"/\u003e\u003c/td\u003e\n        \u003ctd\u003e\u003cimg src=\"https://static.twelvet.cn/twelvet/8.jpg\"/\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n## Online Experience\n\n- admin/123456\n\nDemonstration address：[https://cloud.twelvet.cn](https://cloud.twelvet.cn)\n\n## Architecture Diagram\n\n\u003cimg src=\"https://static.twelvet.cn/twelvet/framework.png\"/\u003e\n\n## ✈️✈️✈️ Quickly start Microservices\n\nMemory \u003e 16\nMaven, Docker, Docker-compose, Node, and Yarn need to be installed manually.\n\n```shell\n# mvn twelvet\ncd ./twelvet \u0026\u0026 mvn clean \u0026\u0026 mvn install -DskipTests\n# mvn twelvet-auth\ncd ../twelvet-auth \u0026\u0026 mvn clean \u0026\u0026 mvn install -DskipTests\n# mvn twelvet-gateway\ncd ../twelvet-gateway \u0026\u0026 mvn clean \u0026\u0026 mvn install -DskipTests\n# mvn twelvet-server-system\ncd ../twelvet-server/twelvet-server-system \u0026\u0026 mvn clean \u0026\u0026 mvn install -DskipTests\n# Enter the script directory\ncd ../../docker\n# Set executable permissions\nchmod 751 deploy.sh\n# Perform startup (execute parameters as needed, [init | port | base | server | stop | rm])\n# Initialization\n./deploy.sh init\n# Basic services\n./deploy.sh base\n# Start Twelvet\n./deploy.sh server\n# Start UI\n./deploy.sh nginx\n```\n\n## Open Source Collaboration\n\n### Open Source License\n\nThe Twelvet open-source software follows the MIT\nLicense [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0.html)。\nPermits commercial use, but requires the preservation of the original author and copyright information.\n\n### Other terms\n\n1. Welcome to contribute [PR](https://github.com/twelvet-projects/twelvet/pulls)，Make sure to submit to the\n   corresponding branch\n   Code conventions [spring-javaformat](https://github.com/spring-io/spring-javaformat)\n\n   \u003cdetails\u003e\n    \u003csummary\u003eCode style guidelines\u003c/summary\u003e\n\n    1. Due to \u003ca href=\"https://github.com/spring-io/spring-javaformat\" target=\"_blank\"\u003espring-javaformat\u003c/a\u003e\n       the requirement of enforcing a specific code formatting, any code that is not submitted according to this\n       requirement will not be able to be merged (packaged)\n    2. If you are using IntelliJ IDEA for development, please install the auto-formatting\n       plugin. \u003ca href=\"https://repo1.maven.org/maven2/io/spring/javaformat/spring-javaformat-intellij-idea-plugin/\" target=\"_blank\"\u003e\n       spring-javaformat-intellij-idea-plugin\u003c/a\u003e\n    3. For other development tools, please refer to their respective documentation or community for instructions on\n       configuring automatic code formatting. \u003ca href=\"https://github.com/spring-io/spring-javaformat\" target=\"_blank\"\u003e\n       spring-javaformat\u003c/a\u003e\n       Before committing code, please run the following command in the project root directory (requires developer's\n       computer to support the mvn command) to format the code.\n       ```\n       mvn spring-javaformat:apply\n       ```\n   \u003c/details\u003e\n\n2. Welcome to contribute [issue](https://github.com/twelvet-projects/twelvet/issues)，Please provide clear explanations\n   of the issue, development environment, and steps to reproduce.\n\n## 🤝Thank You\n\nThanks to jetbrains for the\nlicense[![jetbrains](https://cloud.twelvet.cn/jetbrains.png)](https://www.jetbrains.com?from=https://github.com/twelvet-projects/twelvet)\n","funding_links":["https://opencollective.com/twelvet","https://twelvet.cn"],"categories":["开发框架"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwelvet-projects%2Ftwelvet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwelvet-projects%2Ftwelvet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwelvet-projects%2Ftwelvet/lists"}