/SISTOJ

Front end for online judge system

Primary LanguageCSS

online-judge

1. Description

Frontend for online judge with Vue.js

2. Requirements

2.1 Vue.js

"vue": 2.5.2
"vuex": "^3.0.1"
"vuex-persist": "^2.0.0"

2.2 Mock.js

"mockjs": "^1.0.1-beta3"

2.3 Ajax

"axios": "^0.18.0"

2.4 Webpack

"webpack": "^3.6.0"

3. Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

4.Achieved Functions

1.Upload excel file

2.Mock data for frontend indenpendent development

3.Vuex persist state management

4.Transform UTC time to local time

5. API Reference

https://github.com/ShanghaitechGeekPie/oj-backend