Skip to content

vvvsir/gin_web_demo

Repository files navigation

gin_web_demo

本地环境

1、修改conf/config.yaml 里的mysql及redis配置

2、执行./gin_web_demo conf/config.yaml

docker环境搭建

➜  ~ docker build -t gin_web_demo:1.0 .
➜  ~ docker run -itd -p 8084:8084 --name gin_web_demo gin_web_demo:1.0

进入gin_web_demo容器

1、修改conf/config.yaml 里的mysql及redis配置

2、执行./gin_web_demo conf/config.yaml

浏览器打开http://localhost:8084/swagger/index.html即可访问对应的api

swagger-api

About

使用gin + sqlx + jwt组合实现的用户api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published