English | 中文
Simple Admin is a powerful microservice framework for basic management. It is based on go-zero and supports several advanced features. It can help you to develop a microservice back-end management core in a short time.
- State of The Art Development:Use latest back-end technology development such as gorm, go-zero, casbin
- Fully support go-swagger: Write comment in api file and generate swagger doc easily
- Error handling: Handle error messages via one module
- International:support different languages show in the front-end via put locale path in the message
- Service Discover: use k8s endpoints to do service discovery and load-balance
- Authority Manage authority via casbin, based on RBAC
- Other builtin concurrency control, adaptive circuit breaker, adaptive load shedding, auto-trigger, auto recover
| Module | Status |
|---|---|
| Login and Register | Finished |
| Menu Management | Finished |
| Role Management | Finished |
| Role Authority | Finished |
| User Management | Finished |
| Operation log | Finished |
| Service discovery | Finished |
| Configuration center | Finished |
| Dictionary management | Finished |
| Oauth management | Finished |
| Fully support K8s | Finished |
| Service Monitor | Finished |
| Log collecting | Finished |
| JWT blacklist | Finished |
| Job Schedule | In progress |
The use of consul for service registration discovery in the early stage of the project is mainly to adapt to low-configuration servers. In the near future, the deployment process of K8s will be mainly optimized, and the project will mainly use K8s for deployment in the future.
Online Preview Account: admin Password: simple-admin
or running locally
cd docs
docsify serve .- Golang and git - Project development environment
- Mysql - Familiar with mysql database
- GORM - Familiar with GORM apis
- Casbin - Familiar with Casbin apis
- Go-swagger - Go-swagger document generation
- Get the project code
git clone https://github.com/suyuan32/simple-admin-core.git- Installation dependencies
cd simple-admin-core/
go mod tidy
-
Edit api/etc/core.yaml rpc/etc/core.yaml
-
Run
# run core api
cd api
go run core.go -f etc/core.yaml
# run core rpc
cd rpc
go run core.go -f etc/core.yaml- Build
go build -o core core.goYou are very welcome to join!Raise an issue Or submit a Pull Request。
Pull Request:
- Fork code!
- Create your own branch:
git checkout -b feat/xxxx - Submit your changes:
git commit -am 'feat(function): add xxxxx' - Push your branch:
git push origin feat/xxxx - submit
pull request
-
reference vue specification (Angular)
featAdd new featuresfixFix the problem/BUGstyleThe code style is related and does not affect the running resultperfOptimization/performance improvementrefactorRefactorrevertUndo edittestTest relateddocsDocumentation/noteschoreDependency update/scaffolding configuration modification etc.workflowWorkflow improvementsciContinuous integrationtypesType definition file changeswipIn development



