1 Star 0 Fork 30

kora / gin-gorm-oj

forked from GetcharZp / gin-gorm-oj 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

基于Gin、Gorm、Vue 实现的在线练习系统

视频链接:https://www.bilibili.com/video/av339992531/

演示地址:http://getcharzp.gitee.io/gin-gorm-oj

后台语言: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

// 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

go get github.com/dgrijalva/jwt-go

配置

  • 将 MailPassword 配置到环境变量中

系统模块

  • 用户模块
    • 密码登录
    • 邮箱注册
    • 用户详情
  • 题目管理模块
    • 题目列表、题目详情
    • 题目创建、题目修改
  • 分类管理模块
    • 分类列表
    • 分类创建、分类修改、分类删除
  • 判题模块
    • 提交记录列表
    • 代码的提交及判断
  • 排名模块
    • 排名的列表情况
  • 竞赛模块
    • 竞赛列表
    • 竞赛管理
    • 竞赛报名
MIT License Copyright (c) 2022 GetcharZp Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

在线练习系统 ==> 后端:基于Gin、Redis、Gorm 实现 前端:基于Vue、ElementUI 实现 展开 收起
Go
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Go
1
https://gitee.com/hhyd/gin-gorm-oj.git
git@gitee.com:hhyd/gin-gorm-oj.git
hhyd
gin-gorm-oj
gin-gorm-oj
master

搜索帮助