Skip to content

go iris casbin jwt vue实战。go+iris(web框架)+casbin(权限)+jwt+vue(iview admin)+websocket的web server框架,响应式web,可前后端分离

License

Notifications You must be signed in to change notification settings

xiafei114/go-iris-curd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-iris-curd

介绍

go iris curd,参考
https://gitee.com/yhm_my/go-iris

软件架构

  • golang
  • iris
  • casbin

安装教程

  1. 修改 conf 下的 app.yml 和 db.yml

  2. 初始化数据库,sql 文件在 doc/casbin.sql

  3. 使用 go-bindata 生成配置文件

    go-bindata -pkg conf -o main/inits/bindata/conf/conf-data.go conf
    go-bindata -pkg static -o main/inits/bindata/static/static-data.go resources/...
  1. 使用 govendor
    govendor init 初始化,建立vendor.json
    govendor add +external 抓取文件

使用说明

  1. 运行 go run main/main.go
  2. 打开浏览器 http://localhost:8088
  3. xxxx

About

go iris casbin jwt vue实战。go+iris(web框架)+casbin(权限)+jwt+vue(iview admin)+websocket的web server框架,响应式web,可前后端分离

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages