A separated front-end and back-end starter for admin panels built on Gin and Vue. It ships user management, JWT auth, Casbin RBAC, code generation, and optional multi-tenancy.
Overview
go-admin is a scaffold for building internal admin and back-office applications. The back end uses the Gin web API stack; the front end supports Element Plus, Arco Design, or Ant Design on Vue 3, so teams can pick a UI kit that matches their preferences.
Out of the box it covers organization-style features: users, departments, positions, menus, roles with data-scope permissions, dictionaries, parameters, operation and login logs, and a demo content module. RESTful API conventions, middleware for authentication, CORS, access logs, and tracing IDs are part of the server side.
Developers get a form builder, visual code generation from table schemas, Swagger-based API docs, GORM-backed storage with several database options, and scheduled tasks. Data permissions can follow org trees for departments and related scopes.
You initialize by pointing configuration at a database; quick paths include SQLite for a minimal local API plus a separate UI dev server, or MySQL, PostgreSQL, or SQL Server with migration helpers. Docker-based compile and start flows are documented for teams that containerize the API.
Key features
- JWT authentication
- Casbin RBAC model
- Multi-tenant support
- Visual code generation
- Drag-and-drop form builder
- RESTful API middleware
- Swagger API documentation
- Org-tree data permissions
Use cases
- Internal admin dashboards
- RBAC-backed operations consoles
- Rapid CRUD back-office apps
- Multi-department enterprise tools