Skip to content
Zhenhuan Liu edited this page May 15, 2019 · 6 revisions

项目结构

├── course 课程模块
│   ├── apps.py
│   ├── __init__.py
│   ├── migrations
│   │   └── __init__.py
│   ├── models.py  数据库定义文件
│   ├── serializers.py  
│   ├── tests.py
│   ├── urls   url定义
│   │   ├── admin.py  用于管理员端的url
│   │   ├── statistics.py 用于统计中心的url
│   │   └── student.py  用于学生端的url
│   └── views API接口实现
│       ├── admin.py 用于管理员端的API
│       ├── statistics.py 用于统计中心的API
│       └── student.py 用于
├── data 静态文件存储
├── demo 示例
├── exam 考试模块
├── lab 实验课模块
├── lecture 主讲课模块
├── oj 项目配置
├── problem 题目模块
├── submission 提交模块
├── user 用户模块
├── utils 辅助函数等
├── manage.py
├── README.md
├── requirements.txt 项目依赖

Django REST framework

Awesome web-browsable Web APIs.

Full documentation for the project is available at https://www.django-rest-framework.org/.

便于API的实现, 后端采用REST框架, 具体细节参看上述官方文档

JudgeServer

项目采用青岛大学开源Judger, 可采用docker直接部署,项目地址如下:

  1. JudgeServer: https://github.com/QingdaoU/JudgeServer
  2. Judger: https://github.com/QingdaoU/Judger

具体接口文档参看: https://docs.onlinejudge.me/#/judgeserver/api

Clone this wiki locally