Skip to content

gin+gorm+jwt+vue, implemented as dependency injection

License

Notifications You must be signed in to change notification settings

ypxns/gin-vue-admin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gin-vue-admin

  • 演示地址:入门级服务器,请轻点~~

  • 以动态路由的方式实现不同的角色加载不同的菜单

账号:admin 密码:111111 账号:test 密码:111111

项目结构


├── cmd  程序入口
├── common 通用模块代码
├── config 配置文件
├── controller API控制器
├── docs 数据库文件
├── models 数据表实体
├── page 页面数据返回实体
├── repository 数据访问层
├── router 路由
├── service 业务逻辑层
├── vue-admin Vue前端页面代码

下载安装项目

go get -x github.com/bingjian-zhu/gin-vue-admin/cmd

go后台程序运行方式

1.在MySQL中运行文件夹/docs中的mysql.sql脚本

2.在gin-vue-admin/cmd目录下运行go run main.go

vue前端运行方式

请看文件夹/vue-admin中的README.md

About

gin+gorm+jwt+vue, implemented as dependency injection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 42.5%
  • JavaScript 28.1%
  • Go 25.2%
  • CSS 3.4%
  • Other 0.8%