A collaborative online judgement platform supporting adding problems. Currently this project only supports Python build and run.
Tech Stack:
- React
- NodeJS
- Express
- Mongodb
- Redis
- Docker
Real-time content and cursor change.
Code can be complied and run, and then show the result.
New user's editor will load current code.
Provide a form for adding new question.
Firstly, open the Redis Server:
$ redis-server /usr/local/etc/redis.confRun back-end(build and run) server:
$ pip install -r requirements.txt
$ python executor_server.pyRun client server:
$ ./client/npm startRun routing server:
$ ./server/nodemon index.jsOf course, you can also use concurrently to run client & routing server at the sametime.
- Create a
dev.jsunder./server/config(routing server):
module.exports={mongoURI: 'mongodb://xxx',excutorServerUrl: 'xxx'};- Create a
dev.jsunder./src/client/config(client server):
exportconstAUTH_CONFIG={domain: 'xxx.auth0.com',clientId: 'xxx',callbackUrl: 'http://localhost:3000/callback'}exportconstSERVER_CONFIG={address: 'http://localhost:8080'}- Port Used:
# Client Port:
http://localhost:3000
# Server Port:
http://localhost:8080
# Build&Run Port:
http://localhost:5000- Fix bugs.
- User panel.
- Add more user controls.
- Deloy.
MIT



