{"id":13670338,"url":"https://github.com/vbenjs/gf-vben","last_synced_at":"2025-04-05T07:07:18.977Z","repository":{"id":42562625,"uuid":"345506517","full_name":"vbenjs/gf-vben","owner":"vbenjs","description":"goframe + vben-admin","archived":false,"fork":false,"pushed_at":"2025-03-19T07:01:03.000Z","size":177,"stargazers_count":129,"open_issues_count":2,"forks_count":29,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-29T06:08:44.987Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vbenjs.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-08T02:23:22.000Z","updated_at":"2025-03-25T08:58:08.000Z","dependencies_parsed_at":"2024-07-15T01:27:46.698Z","dependency_job_id":"e37c018f-5775-405b-b177-3c8415ebe085","html_url":"https://github.com/vbenjs/gf-vben","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbenjs%2Fgf-vben","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbenjs%2Fgf-vben/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbenjs%2Fgf-vben/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbenjs%2Fgf-vben/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vbenjs","download_url":"https://codeload.github.com/vbenjs/gf-vben/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299832,"owners_count":20916190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T09:00:39.380Z","updated_at":"2025-04-05T07:07:18.957Z","avatar_url":"https://github.com/vbenjs.png","language":"Go","funding_links":[],"categories":["StandAlone Projects"],"sub_categories":[],"readme":"# Gf-Vben-Admin\n## 前后端分离后台管理系统\n### 本仓库为后端部分\n\n### 前端部分\n\u003ehttps://github.com/vbenjs/gf-vben-admin\n\n#### 后端语言：golang\n#### 后端框架：[GoFrame](https://github.com/gogf/gf)\n#### 前端语言：Vue3.0\n#### 前端框架：[Vben Admin](https://github.com/anncwb/vue-vben-admin)\n\n### 基本组件\n\n1. 鉴权： jwt \n\u003e  https://github.com/jinmao88/gf-jwt \n2. 权限控制： casbin  \n\u003e  https://github.com/casbin/casbin\n3. 雪花ID： 雪花漂移算法\n\u003e  https://github.com/yitter/IdGenerator\n4. 后端路由\n\n## Pgsql数据库相关\n\n* 只提供了全局的curd接口 作为demo\n* 数据库自己创建\n\n\n### user表sql语句\n```sql\ncreate table user\n(\n    id        int auto_increment comment 'primary id',\n    username  varchar(120)         not null comment 'username',\n    password  varchar(64)          null comment 'password',\n    note      varchar(255)         null,\n    nick_name varchar(120)         null comment 'nickName',\n    status    tinyint(1) default 1 null comment '1:enable 2:disable',\n    create_at timestamp            null,\n    update_at timestamp            null,\n    delete_at timestamp            null,\n    primary key (id, username)\n)\n    charset = utf8mb4;\n\n\n```\n\n### casbin表sql语句\n\n```sql\ncreate table casbin_rule\n(\n    ptype varchar(10)  null,\n    v0    varchar(256) null,\n    v1    varchar(256) null,\n    v2    varchar(256) null,\n    v3    varchar(256) null,\n    v4    varchar(256) null,\n    v5    varchar(256) null\n);\n\n\n```\n\n### 路由表sql语句\n```sql\ncreate table router\n(\n    id        int auto_increment\n        primary key,\n    path      varchar(20)  null,\n    name      varchar(20)  null,\n    redirect  varchar(50)  null,\n    title     varchar(30)  null,\n    icon      varchar(100) null,\n    component varchar(100) null,\n    parent    int          null,\n    orderNo   int          null,\n    status    tinyint(1)   null,\n    create_at timestamp    null,\n    update_at timestamp    null,\n    delete_at timestamp    null\n);\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbenjs%2Fgf-vben","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvbenjs%2Fgf-vben","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbenjs%2Fgf-vben/lists"}