Skip to content

1996scarlet/Go-AccessToHeart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-AccessToHeart

使用Beego+Mysql+Swagger搭建的restful api


运行方法:bee run -gendoc=true -downdoc=true
API默认端口:8990
QPS默认端口:8998
以上内容可以在app.conf中修改



How to use in Ubuntu

  • source ~/.profile
  • bee api WorkDB-api -conn="root:root@tcp(127.0.0.1:3306)/WorkDB"
  • cd ~/go/src/WorkDB-api
  • bee run -gendoc=true -downdoc=true

If mysql DB empty

  • mysql --socket=/tmp/mysql.sock --user root -proot
  • use WorkDB
  • source XXXX.sql
  • quit

Thanks

About

通过Beego框架搭建的restful api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages