# simple-admin
**Repository Path**: ivwsdnvpynn/simple-admin
## Basic Information
- **Project Name**: simple-admin
- **Description**: Simple Admin 是一个开箱即用的分布式微服务后端管理系统,基于go-zero开发,提供丰富的功能如服务发现,权限管理等
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: https://www.oschina.net/p/simple-admin
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 22
- **Created**: 2022-11-15
- **Last Updated**: 2022-11-15
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
Simple Admin
**English** | [中文](./README.md)
---
[](https://go-zero.dev/)
[](https://vvbin.cn/doc-next/)
[](https://entgo.io/)
[](https://github.com/casbin/casbin)
[](https://github.com/suyuan32/simple-admin-core/releases)
[](https://opensource.org/licenses/MIT)
[](https://discord.gg/NDED5p2hJk)
## Introduction
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.
#### [Gorm version here](https://github.com/suyuan32/simple-admin-core/tree/gorm)
## Feature
- **State of The Art Development**:Use latest back-end technology development such as ent, 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
## Current Progress
| 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 | Finished |
| Message queue | Finished |
| Ent | Finished |
### 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.
## Preview
### Online preview
[Online Preview](http://101.132.124.135/#/dashboard)
Account: admin
Password: simple-admin
#### Read Only, cannot register and modify



[More](https://suyuan32.github.io/simple-admin-core/#/simple-admin/zh-cn/docs/screenshot)
## Documentation
[Document](https://suyuan32.github.io/simple-admin-core/)
or running locally
```shell
cd docs
docsify serve .
```
- go-zero
[Document](https://go-zero.dev/)
- ant-design-vue [Document](https://antdv.com/components/overview)
## Preparation
- [Golang](http://go.dev/) and [git](https://git-scm.com/) - Project development environment
- [Ent](https://entgo.io/docs/getting-started) - Ent
- [Mysql](https://www.mysql.com/) - Familiar with mysql database
- [GORM](https://gorm.io/) - Familiar with GORM apis
- [Casbin](https://casbin.org/) - Familiar with Casbin apis
- [Go-swagger](https://goswagger.io/) - Go-swagger document generation
## Install and use
- Get the project code
```bash
git clone https://github.com/suyuan32/simple-admin-core.git
```
- Installation dependencies
```bash
cd simple-admin-core/
go mod tidy
```
- Edit api/etc/core.yaml rpc/etc/core.yaml
- Run
```bash
# 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
```bash
go build -o core core.go
```
## Change Log
[CHANGELOG](./CHANGELOG.zh_CN.md)
## Project
- [Simple-Admin-ui](https://github.com/suyuan32/Simple-Admin-ui)
- [Simple-Admin](https://github.com/suyuan32/Simple-Admin)
## How to contribute
You are very welcome to join Or submit a Pull Request。
**Pull Request:**
1. Fork code!
2. Create your own branch: `git checkout -b feat/xxxx`
3. Submit your changes: `git commit -am 'feat(function): add xxxxx'`
4. Push your branch: `git push origin feat/xxxx`
5. submit`pull request`
## Git Contribution submission specification
- reference [vue](https://github.com/vuejs/vue/blob/dev/.github/COMMIT_CONVENTION.md) specification ([Angular](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular))
- `feat` Add new features
- `fix` Fix the problem/BUG
- `style` The code style is related and does not affect the running result
- `perf` Optimization/performance improvement
- `refactor` Refactor
- `revert` Undo edit
- `test` Test related
- `docs` Documentation/notes
- `chore` Dependency update/scaffolding configuration modification etc.
- `workflow` Workflow improvements
- `ci` Continuous integration
- `types` Type definition file changes
- `wip` In development
# Community
[Discard](https://discord.gg/NDED5p2hJk)
## Stars
[](https://github.com/suyuan32/simple-admin-core)
## Maintainer
[@Ryan Su](https://github.com/suyuan32)
## License
[MIT © Ryan-2022](./LICENSE)