Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vbenjs/gf-vben
goframe + vben-admin
https://github.com/vbenjs/gf-vben
Last synced: 3 months ago
JSON representation
goframe + vben-admin
- Host: GitHub
- URL: https://github.com/vbenjs/gf-vben
- Owner: vbenjs
- License: mit
- Created: 2021-03-08T02:23:22.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-15T00:11:24.000Z (4 months ago)
- Last Synced: 2024-07-15T01:27:45.267Z (4 months ago)
- Language: Go
- Size: 164 KB
- Stars: 120
- Watchers: 6
- Forks: 24
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-gf - gf-vben - 前后端分离后台管理系统 goframe V2.0 + vben-admin 后端部分 (StandAlone Projects)
README
# Gf-Vben-Admin
## 前后端分离后台管理系统
### 本仓库为后端部分### 前端部分
>https://github.com/vbenjs/gf-vben-admin#### 后端语言:golang
#### 后端框架:[GoFrame](https://github.com/gogf/gf)
#### 前端语言:Vue3.0
#### 前端框架:[Vben Admin](https://github.com/anncwb/vue-vben-admin)### 基本组件
1. 鉴权: jwt
> https://github.com/jinmao88/gf-jwt
2. 权限控制: casbin
> https://github.com/casbin/casbin
3. 雪花ID: 雪花漂移算法
> https://github.com/yitter/IdGenerator
4. 后端路由## Pgsql数据库相关
* 只提供了全局的curd接口 作为demo
* 数据库自己创建### user表sql语句
```sql
create table user
(
id int auto_increment comment 'primary id',
username varchar(120) not null comment 'username',
password varchar(64) null comment 'password',
note varchar(255) null,
nick_name varchar(120) null comment 'nickName',
status tinyint(1) default 1 null comment '1:enable 2:disable',
create_at timestamp null,
update_at timestamp null,
delete_at timestamp null,
primary key (id, username)
)
charset = utf8mb4;```
### casbin表sql语句
```sql
create table casbin_rule
(
ptype varchar(10) null,
v0 varchar(256) null,
v1 varchar(256) null,
v2 varchar(256) null,
v3 varchar(256) null,
v4 varchar(256) null,
v5 varchar(256) null
);```
### 路由表sql语句
```sql
create table router
(
id int auto_increment
primary key,
path varchar(20) null,
name varchar(20) null,
redirect varchar(50) null,
title varchar(30) null,
icon varchar(100) null,
component varchar(100) null,
parent int null,
orderNo int null,
status tinyint(1) null,
create_at timestamp null,
update_at timestamp null,
delete_at timestamp null
);```