# gin-gorm-oj **Repository Path**: yangzhiweiga/gin-gorm-oj ## Basic Information - **Project Name**: gin-gorm-oj - **Description**: 在线练习系统 ==> 后端:基于Gin、Redis、Gorm 实现 前端:基于Vue、ElementUI 实现 - **Primary Language**: Go - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 33 - **Created**: 2022-08-18 - **Last Updated**: 2022-08-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 基于Gin、Gorm、Vue 实现的在线练习系统 > 视频链接:https://www.bilibili.com/video/av339992531/ > > 演示地址:http://oj.getcharzp.cn/ > > 后台语言:Golang、框架:Gin、GORM > > 前台框架:Vue、ElementUI ## 参考链接 GOLANG下载网址: https://golang.google.cn/dl/ 参考文档 Module:https://www.kancloud.cn/aceld/golang/1958311 GORM中文官网:https://gorm.io/zh_CN/docs/ GIN中文官网:https://gin-gonic.com/zh-cn/docs/ ## 整合 Swagger 参考文档: https://github.com/swaggo/gin-swagger 接口访问地址:http://localhost:8080/swagger/index.html ```text // GetProblemList // @Tags 公共方法 // @Summary 问题列表 // @Param page query int false "page" // @Param size query int false "size" // @Success 200 {string} json "{"code":"200","msg","","data":""}" // @Router /problem-list [get] ``` ## 安装 jwt ```shell go get github.com/dgrijalva/jwt-go ``` ## 配置 + 将 MailPassword 配置到环境变量中