Location>code7788 >text

NET 8 Generic Permissions Framework Front-end and back-end separation out-of-the-box

Popularity:78 ℃/2024-08-02 11:41:18

preamble

NET 8-based implementation of a general-purpose permissions development framework , the front-end using Vue3/Element-plus development .

NET 8 (Furion)/SqlSugar based on the realization of a common management platform . Integration of the latest technology , module plug-in development , front-end and back-end separation , out-of-the-box .

Integrate multi-tenancy, caching, data validation, authentication, event bus, dynamic API, communication, remote request, task scheduling, gRPC and many other black technologies.

Code is simple, easy to expand, detailed comments, easy to get started, secondary development, even complex business logic can be quickly realized, the real "out of the box".

Make development easier, more versatile, and more popular!

Projects

Rapid development platform framework for small and medium-sized enterprises, the framework adopts mainstream technology development design, front and back end separation architecture model.

Perfectly adapted to localized hardware and software environments, supporting local middleware, local databases, Kirin OS, Windows, Linux deployment;

Integrated state secret encryption and decryption plug-in, using SM2, SM3, SM4 and other state secret algorithms for signature and data integrity protection;

The software level fully complies with the requirements of level protection assessment, and fully meets the requirements of equal protection and confidentiality assessment.

1、Support various databases

Backend configuration files are self-modified (automatic generation of database and seed data)

2. Front-end operation steps

  • Install dependencies pnpm install
  • Run pnpm run dev
  • Packaging pnpm run build

3. Demonstration environment

http://101.43.53.74:5005/dist/

4. Project address

/zuohuaijun/

5、Online Documentation

http://101.43.53.74:5050/

Project use

1, it is recommended that each application system to create a separate project (layer is just an example), set up a separate configuration, reference layer (non-essential not to change the name of the project)

2, Web layer references to the new application layer project can be (all applications a solution to display a background set of code to handle, you can freely switch between different application layers)

Attention:It can be upgraded with the main repository to avoid conflicts, and in principle, the interface, service and controller merge mode does not affect the self-built application layer play and use. If the main framework must be modified or supplemented, PR is also welcome!

Project Features

1、Main control panel: Provide the operation interface of core functions, such as workbench, data analysis and statistical display.

2, tenant management: including tenant package configuration, expiration management, user number control and enterprise information maintenance.

3、Tenant package management: customize packages for different service levels, including available features and service duration.

4, client management: management system integrates a variety of clients, supports a variety of authentication methods, and can dynamically adjust the validity of the authentication token.

5、User management: user creation, departmental allocation, role setting and job assignment.

6, institutional management: maintenance of the company's organizational structure, to support the design of multi-level structure.

7, position management: management of the user's position information, as identity.

8, menu management: configure the system menu structure and operating privileges.

9, role management: by binding the menu and data permissions to limit access to the role.

10、Dictionary Management: Maintain commonly used and fixed system data.

11、Log Management: Record user login, operation and exception information.

12、Service Monitor: Monitor server operation status, including CPU, memory and network information.

13, online user management: view the current online users and support forcibly offline.

14、Announcement Management: Publish system notifications and push them to users in real time.

15, file management: file upload, download, view and storage management.

16, task scheduling: the use of Sundial and other tools to achieve timed tasks and job scheduling.

17、System Configuration: Manage the parameters required for the operation of the system.

18. Communication services: mail and SMS sending functions.

19, API documentation: automatically generated API documentation , support for Swagger and Knife4jUI skin .

20, code generator: automatic generation of front-end and back-end code to improve development efficiency .

21, online builder: visual drag and drop form elements to generate front-end code.

22、WeChat Integration: Support WeChat small program development and payment function.

23, data import and export: support for file import and export and report generation.

24, limit flow control: API requests for traffic restrictions.

25, ES logs: using Elasticsearch to store system logs.

26, open authorization: support OAuth 2.0 standard authorization.

27. APIJSON Support: Adapt the Tencent APIJSON protocol to simplify back-end development.

Project Screenshots

1、Login interface

2. System management

3. Platform management

4. Development tools

5. Other effects

 summarize

Universal Permission Framework is a front-end and back-end architecture to support the separation of permission management system , with out-of-the-box features , can significantly simplify the development process .

Interested parties may wish to experience the power of this framework.

If you think this article is good you can bookmark it, thanks for reading.

If you find this article useful, welcome to join WeChat [DotNet technician] community to share ideas and grow with other tech-loving peers.