Skip to content

Latest commit

 

History

History
148 lines (114 loc) · 8.87 KB

README.en.md

File metadata and controls

148 lines (114 loc) · 8.87 KB

zhontai admin

Front-End and Back-End Separated Backend Permission Management System

.Net FreeSql Autofac Mapster DotNetCore.CAP license

English | 中文

 

🌈 Introduction

Based on technologies such as .NET 8.0, FreeSql full stack, Autofac, CAP, and Mapster, we have developed a front-end and back-end separated backend permission management system. With a development philosophy of anticipating your needs, we aim to reduce workload and help everyone achieve rapid development. Developed using FreeSql ORM, the system supports mainstream databases both domestically and internationally, read-write separation, table and database sharding, distributed transactions TCC/SAGA, and other features. Upon starting the project, the database is automatically generated, and the CodeFirst model supports automatic synchronization of table structures and permission data from entity configurations to the database. The new version of the Swagger interface documentation provides easier interface reading and testing.

⛱️ Online preview

💒 Code repository

🚀 Feature introduction

  1. User Management: Configure users, view departmental user lists, supports disabling/enabling, password resets, setting supervisors, users can be assigned multiple roles, departments, and higher-level supervisors.
  2. Role Management: Configure roles, supports role grouping, setting role menus and data permissions, bulk adding and removing role members.
  3. Department Management: Configure departments, supports tree-view list display.
  4. Permission Management: Configure groups, menus, actions, permission points, and permission identifiers, supports tree-view list display.
  5. Tenant Packages: Configure tenant packages, supports adding/removing package enterprises.
  6. Tenant Management: Configure tenants, initialize department, role, and administrator data when adding new tenants, supports tenant package configuration, disabling/enabling features.
  7. Dictionary Management: Configure dictionaries, view dictionary types and dictionary data lists, supports maintenance of dictionary types and dictionary data, can export dictionary subclass data.
  8. Task Scheduling: View task and task log lists, supports adding new tasks, modifying, starting, executing, pausing, copying tasks, and viewing logs.
  9. Cache Management: Query cache lists, supports clearing caches based on cache keys.
  10. Interface Management: Configure interfaces, supports interface synchronization for adding permission points and selecting interfaces, supports tree-view list display.
  11. View Management: Configure views, supports view maintenance for adding menus and selecting views, supports tree-view list display.
  12. File Management: Supports file list queries, file uploads/downloads, viewing large images, copying file addresses, and deleting files.
  13. Regional Management: managing and querying regions, supporting the disabling/enabling of regions, setting/canceling popular regions, and one-click synchronization of statistical bureau's regional data.
  14. Login Logs: Query login log lists, records user successful and failed login attempts.
  15. Operation Logs: Query operation log lists, records user normal and abnormal operation logs.

⚡ Usage instructions

Using the latest version of .NET .Net version > 7.0+

Create a new project using the source code of an existing project.

# Clone a project
git clone https://github.com/zhontai/Admin.Core.git

# Enter the project
cd Admin.Core

# Open the project
Open the ZhonTai.sln solution

# Run the project
Set ZhonTai.Host as the startup project, press Ctrl + F5 to build and run the project directly without debugging
Alternatively, navigate to the ZhonTai.Host directory in Command Prompt (cmd) and enter the dotnet run command to execute the project.

# Package and Publish
Select ZhonTai.Host, then right-click and choose Publish from the context menu.

Create a new project using a project template.

# Installation template
dotnet new install ZhonTai.Template

# View help
dotnet new MyApp -h

# New the project
dotnet new MyApp -n MyCompanyName.MyProjectName

# Run the project
Set MyCompanyName.MyProjectName.Host as the startup project, press Ctrl + F5 to compile and run the project directly (without debugging)
Alternatively, navigate to the 'MyCompanyName.MyProjectName.Host' directory in Command Prompt (cmd) and enter the 'dotnet run' command to execute the project.

# Package and Publish
Select MyCompanyName.MyProjectName.Host, then right-click and choose Publish from the context menu.

📚 Development documentation

💯 Join a QQ group for learning and communication

Zhontai Admin development group (2000-member capacity)

💕 Special thanks

❤️ Acknowledgments list

💌 Support the author

If you think the framework is good, or if you are already using it, we hope you can go to Github or Gitee Please give me a ⭐ Star, it would be a great encouragement and support to me.