[Open-source] General open-source backend management framework, plug-and-play, quickly start your business development
![[Open-source] General open-source backend management framework, plug-and-play, quickly start your business development](https://yy123.ink/api/img/1796368055163-d7p21t.png)
1. Project Overview
XYGo Admin
General Open-source Backend Management Framework Built on Vue3 + GoFrame, with Built-in Permission Management, Code Generation, System Monitoring, etc., Ready to Use, Quickly Start Your Business Development
2. Open Source License
Licensed under MIT
3. Screenshots
Project Preview
4. Feature Overview
XYGo Admin is a full-stack open-source backend management framework, with the front-end based on Art Design Pro (Vue3 + TypeScript + Element Plus), and the back-end based on GoFrame v2. It can be used for free without any authorization, and we hope it can help developers quickly build enterprise-level management systems.
: Roles, menus, buttons, data permissions, field permissions, fine-grained to column-level control, visual management of permission allocation
RBAC Permission System:1. Roles, 2. Menus, 3. Buttons, 4. Data Permissions, 5. Field Permissions, 6. Fine-grained control to column level, 7. Visual management of permission allocation
Visual Code Generation: Visual design table structure, one-click generate front-end and back-end CRUD code (Go API + Controller + Logic + Vue page), support master-slave table association, save 80% development time
Dual Database Support: Simultaneously compatible with MySQL and PostgreSQL, a set of code runs on two databases, switch database only need to change one line of configuration
Frontend and Backend SeparationFront-end Vue3 SPA + Back-end GoFrame RESTful API, can be independently deployed, or packaged into a single binary one-click deployment
Member Portal System:Built-in front-end portal + member center, supports registration login, score sign-in, personal center, and portal menu backend visual management
Document Center:Built-in Markdown document management, supports category tree, full-text search, and online preview
System Monitoring:Server status monitoring, slow query alarm, slow interface alarm, operation log, and login log full coverage
Message queue:Based on Redis, asynchronous task queue, supports scheduled task management and message push
Modern UI:Based on Art Design Pro, six layout modes, light and dark themes, smooth animation interaction, button clicks, theme switching, page transitions, and commercial product-like experience
Single deployment:Supports packaging the front-end into a Go binary, one file + one configuration can be deployed, no need for Nginx
5. Tech Stack
Tech Stack
| Layer |
Technology |
| Front-end Framework |
Vue 3、TypeScript、Vite |
| UI Component Library |
Element Plus、Tailwind CSS |
| State management |
Pinia |
| Backend Framework |
GoFrame v2(Go 1.22+) |
| Database |
MySQL 8.0+ / PostgreSQL 14+ |
| Cache/Queue |
Redis |
| Authentication |
JWT (supports single sign-on) |
Project Structure
xygoadmin/├── server/ # Backend GoFrame project│ ├── addons/ # Extension package directory (*.zip)│ ├── api/ # API interface definition│ ├── internal/│ │ ├── cmd/ # Main command entry│ │ ├── cmdtools/ # Tool command logic (migration, extension, online update)│ │ ├── controller/ # Controllers (request handling)│ │ ├── logic/ # Business logic (core code is here)│ │ ├── model/ # Data model (entity/do/input)│ │ ├── dao/ # Data access layer (gf gen dao automatically generated)│ │ └── service/ # Service interface (gf gen service automatically generated)│ ├── cmd_tools/migrate/ # Migration SQL files│ ├── manifest/config/ # Runtime configuration file│ ├── hack/config.yaml # CLI tool configuration (build/gen)│ ├── resource/ # Static resources, code generation templates│ ├── main.go # Service startup entry (gf run main.go)│ └── tools.go # Tool command entry (go run tools.go)├── web/ # Frontend Vue3 project│ ├── src/│ │ ├── api/ # API request encapsulation│ │ ├── views/ # Page components (backend/frontend)│ │ ├── router/ # Routing (static + dynamic loading)│ │ ├── store/ # Pinia State Management│ │ └── components/ # Common Components│ └── ...├── mysql_install.sql # MySQL initialization script├── pgsql_install.sql # PostgreSQL initialization script└── version.json # Version information (used for online updates)
Tool command
In the server/ directory, use: go run tools.go
| Command |
Description |
| go run tools.go |
Interactive menu |
| go run tools.go migrate up |
Execute database migration |
| go run tools.go migrate status |
View migration status |
| go run tools.go migrate history |
View migration history |
| go run tools.go check-tpl |
Check template syntax |
| go run tools.go update |
Online Updates |
| go run tools.go addon install tenant |
Install extension |
| go run tools.go addon uninstall tenant |
Uninstall extension |
Browser Compatibility
Supports Chrome, Safari, Firefox, Edge, and other modern mainstream browsers.
Special thanks
Thanks to the following open-source projects for providing the foundation support:
-
GoFrame - Go language Web framework -
Art Design Pro - Vue3 backend template -
Vue / Element Plus / Vite / Pinia -
Tailwind CSS / TypeScript
6. Source Code Repository
Open-source project address:
https://github.com/z312193608/xygo-admin
Next steps