[Open Source] A fully open-source, high-performance development platform designed for rapid development, available for free without restrictions.

Open SourceProcess Management
2026-06-28 05:39 6 次浏览 • 0 次下载 0KB
[Open Source] A fully open-source, high-performance development platform designed for rapid development, available for free without restrictions.

1. Project Overview

lg-soar is a fully open-source, high-performance development platform designed for rapid development. It promotes convention over configuration while supporting personalized extensions and customization. It is simple and easy to use without sacrificing flexibility. It supports seamless switching between microservices and monolithic architectures, allowing the same codebase to be deployed as either. It also provides multi-tenancy, multiple data sources, multiple rule-based IP whitelist interception, an easy-to-use frontend query builder, automatic signature generation and verification, automatic data masking, sensitive data encryption, enum and dictionary translation, distributed locks, unified exception handling, a unified response data format, a rich set of development tools, caching powered by Redis + Caffeine + Spring Cache, pluggable Redis support, and xxl-job integration, among many other features. All features are provided free of charge to individuals and enterprises without reservation.

2. Open Source License

Licensed under Apache-2.0

3. Screenshots

Demonstration Picture

Image Image
Image Image
Image Image
Image Image
Image Image
Image Image
Image Image
Image Image
Image Image
Image Image
Image Image

4. Feature Overview

Business Features

  1. User Management: Users are system operators. This feature is primarily responsible for configuring system users (system users represent entities within the current operating system, including but not limited to people).

  2. Organization Management: Configure system organizational structures (companies, departments, offices, user groups, etc.) and display them in a tree structure. Configure roles with upward inheritance.

  3. Positions and Job Titles: Configure system positions (CEO, General Manager, regular employees) based on departments. Configure roles with downward inclusion.

  4. Role Management: Assign menus and data permissions to roles. Supports conventional roles, upward inheritance, and downward inclusion (RBAC1).

  5. Menu Management: Configure system menus and assign permissions (frontend-visible menus and elements, with a simple and easy-to-use menu configuration and assignment interface).

  6. Data Permissions: Configure data permissions by API and role. Freely configure combinations of filter fields with almost no coding required, providing flexible implementation.

  7. Permission Management: Configure system permissions (API access permissions). (System API endpoints can be automatically scanned to generate permission data.)

  8. Dictionary Management: Maintain frequently used, relatively fixed data in the system. (System enums can be automatically scanned to generate dictionary data.)

  9. Parameter Management: Dynamically configure commonly used system (or user-specific) parameters.

  10. Operation Logs: Record and query system operation logs. Logging can be implemented through annotations or dynamic configuration (no coding or deployment required, changes take effect in real time).

  11. Online Users: Manage valid tokens in the current system.

  12. Code Generation: Generate frontend and backend code (Java, Vue) and automatically save it to the corresponding directories.

  13. System Interface: Automatically generate API interface documents based on business code.

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

  15. Multiple Login Methods: Account and password login, temporary password login, multi-account linked login, authorization code login (QR code login), single sign-on (SSO), and the ability to serve as an authentication center.

  16. File Service: File uploads, instant file transfers, image thumbnails, image cropping, and business file association management. Supports local files, the S3 protocol (e.g., minIO), and the FTP protocol.

  17. Messaging Services: Email delivery, WebSocket, and SSE.

5. Tech Stack

Architecture Diagram

Image Image

  • Uses a frontend-backend separation architecture.

  • Backend technologies include Spring Boot, MyBatis-plus, swagger, knife4j, easyexcel, redis, and mysql.

  • Microservices: Spring cloud, spring gateway, nacos, and feign.

  • Frontend technologies include vue3, tdesign, axios, and uniapp.

Installation and Startup

Monolithic Project Startup

Environment Preparation: JDK 1.8、maven
1.Add the pom under the server module..The XML file is for the Maven project.
2.Create the lg database.-soar (Alternatively, use a different database name and update the datasource configuration in the yml file.),
3.Execute the following files: /server/sql/lg_soar.SQL file to generate the database schema.
4.Execute the following files: /server/sql/init.SQL file to generate the initial data.
5.After all Maven dependencies have finished loading, start demo.-Under the boot module: SoarBootApplication.java
Backend startup completed.

Microservices Project Startup

Environment Preparation: JDK 1.8、maven、nacos2.0、seata2.0
1.Add the pom under the server module..The XML file is for the Maven project.
2.Create the lg database.-soar (Alternatively, use a different name and modify the configuration in the Nacos configuration list.),
3.Execute the following files: /server/sql/lg_soar.SQL file to generate the database schema.
4.Execute the following files: /server/sql/init.SQL file to generate the initial data.
5.Start Nacos and access the Nacos console (http://localhost:8848/nacos) to open Configuration Management > Configuration List.
6.Click Import Configuration > Upload File, and select the project's directory\server\soar-cloud\config\nacos_config_export_20240323170740.zip file to import.
7.Start Seata. Refer to the project directory for the configuration file:\Configuration File\seata\application.yml
8.Start the services individually.SoarGatewayApplication、SoarSystemApplication、SoarGeneralApplication、SoarMessageApplicationAfter the services have started, the backend startup is complete.

Frontend Startup

Environment Preparation: Node.js 12 or later
1. In the soar-web-v3-td directory, run yarn install or npm install.
2. After the dependencies have been installed, run yarn run dev or npm run serve in the soar-web-v3-td directory.
Web frontend startup completed.

Configure the backend API path, frontend port, and other settings in the .env and .env.development files.

System Modules

server                                  # Backend Code
├── demo-boot                           # Monolithic Example: You can directly develop your business features in this module.
├── demo-cloud                          # Microservices Example: You can directly develop your business features in this module.
├── soar                                # lg-soar Framework Implementation
│    ├── soar-base                       # Base Module
│    │   ├── soar-common                 # Utility Module
│    │   ├── soar-core                   # Core Module
│    │   ├── soar-database               # Database Module
│    │   ├── soar-redis                  # Redis Module
│    │   ├── soar-spring-mvc             # MVC Module
│    │   └── soar-xxl-job                # Scheduled Task Client
│    ├── soar-modules                    # Built-in Business Modules
│    │   ├── soar-system                 # Organization Management, Roles, Permissions, Menus, System Parameters, Data Dictionaries, and Operation Logs
│    │   ├── soar-general                # File System, Address Regions, and Page Elements
│    │   └── soar-message                # WebSocket, SSE, Email, Internal Notifications, and System Announcements
│    ├── soar-api                        # External API Definitions for Built-in Business Modules (Corresponding to the Built-in Business Modules)
│    │   ├── soar-system-api             # External API Definitions for soar-system
│    │   ├── soar-general-api            # External API Definitions for soar-general
│    │   └── soar-message-api            # External API Definitions for soar-message
│    └── soar-feign                      # Feign Implementations for Built-in Business Modules (Corresponding to the Built-in Business Modules)
│        ├── soar-system-feign           # Feign Implementation for soar-system
│        ├── soar-general-feign          # Feign Implementation for soar-general
│        └── soar-message-feign          # Feign Implementation for soar-message
├── soar-cloud                           # Built-in Business Microservices and Gateway (Corresponding to the Built-in Business Modules)
│   ├── soar-gateway-cloud               # Gateway, Permission Interception, and Login Interception
│   ├── soar-system-cloud                # Microservices Startup Entry Point for soar-system
│   ├── soar-general-cloud               # Microservices Startup Entry Point for soar-general
│   └── soar-message-cloud               # Microservices Startup Entry Point for soar-message
├── xxl-job-admin                        # xxl-job Scheduled Task Management Console
└── soar-generator                       # Code Generation Module
#1
资源直链https://gitee.com/lgx1992/lg-soar?url=flyos.zip
去下载
星河码客

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

关于本站

联系我们

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

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

Powered by Nuxt · Deployed on Cloudflare