Dev
- Docker
- Golang (https://golang.org/)
- AngularJS (discarded)
- React
- MongoDB
- C/C++
- ./core -> judgerclient
- ./web -> web
- ./src -> golang web service
You'd better build this JudgeSystem in a cleaned Centos System, such as Docker.
sh -x prepare_env.sh
sh -x build.sh
cd ./output && sh -x ./restart_unserver.sh
Note: Make sure you have checked the prepare_env.sh script
and know what it is going to do before running.
IP:PORT/slogin?username=xxx&password=xxx
- Return 200 if succeed else 400
IP:PORT/suser?uid=xxx
- Return 200 if succeed else 400
IP:PORT/sprobleminfo?pid=xxx
- Return 200 if succeed else 400
IP:PORT/scontests?page=xxx
- Return 200 if succeed else 400
IP:PORT/scontestinfo?cid=xxx
- Return 200 if succeed else 400
IP:PORT/ssubmit?pid=xxx&code=xxx&lang=xxx&author=xxx
- Return 200 if succeed else 400