Coder Social home page Coder Social logo

gf-vben's Introduction

Gf-Vben-Admin

前后端分离后台管理系统

本仓库为后端部分

前端部分

https://github.com/vbenjs/gf-vben-admin

后端语言:golang

后端框架:GoFrame

前端语言:Vue3.0

前端框架:Vben Admin

基本组件

  1. 鉴权: jwt

https://github.com/jinmao88/gf-jwt

  1. 权限控制: casbin

https://github.com/casbin/casbin

  1. 雪花ID: 雪花漂移算法

https://github.com/yitter/IdGenerator

  1. 后端路由

Pgsql数据库相关

  • 只提供了全局的curd接口 作为demo
  • 数据库自己创建

user表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语句

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语句

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
);

gf-vben's People

Contributors

jinmao88 avatar adming-zz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.