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.conf
Run back-end(build and run) server:
$ pip install -r requirements.txt
$ python executor_server.py
Run client server:
$ ./client/npm start
Run routing server:
$ ./server/nodemon index.js
Of course, you can also use concurrently
to run client & routing server at the sametime.
- Create a
dev.js
under./server/config
(routing server):
module.exports = {
mongoURI: 'mongodb://xxx',
excutorServerUrl: 'xxx'
};
- Create a
dev.js
under./src/client/config
(client server):
export const AUTH_CONFIG = {
domain: 'xxx.auth0.com',
clientId: 'xxx',
callbackUrl: 'http://localhost:3000/callback'
}
export const SERVER_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