# ginWeb **Repository Path**: caojian12345/gin-web ## Basic Information - **Project Name**: ginWeb - **Description**: 一个基于gin+mysql+redis的项目 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-03-16 - **Last Updated**: 2022-04-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ginWeb #### 介绍 一个基于gin+mysql+redis的项目 #### 软件架构 软件架构说明 web框架--gin 日志框架--zap 读取配置--viper 支持热加载配置,validator库对请求参数校验,JWT取代cookie,session认证,swaggeer接口文档生成,nginx反向代理 投票数据存储在redis中,其他数据都放在mysql里 #### 安装教程 支持一键脚本自动部署 注: 只支持centos7.x系统 由于要安装mysql,redis,nginx,需要纯净环境的centos7.x 压缩包与解压目录不能放在root目录下 一键部署压缩包下载地址: 链接:https://pan.baidu.com/s/1IX5riBOD0woWCXgUCvTtdg?pwd=1234 提取码:1234 解压后执行sh install.sh 完成部署,访问地址为脚本最后给的提示地址 #### 使用说明 浏览器访问脚本最后给的提示地址,注册,登录,然后复制用户令牌,其他操作都要输入用户令牌 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)