Skip to content

A simple collaborative online judgement platform supporting adding problems.

Notifications You must be signed in to change notification settings

zirui-wang/TeamCoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Team Coding CircleCI

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

Features

Collaboration:

Real-time content and cursor change.

Build and run:

Code can be complied and run, and then show the result.

Load current code:

New user's editor will load current code.

Add new question:

Provide a form for adding new question.

How to play

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.

Config

  1. Create a dev.js under ./server/config (routing server):
module.exports = {
  mongoURI: 'mongodb://xxx',
  excutorServerUrl: 'xxx'
};
  1. 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'
}
  1. Port Used:
# Client Port:
http://localhost:3000

# Server Port:
http://localhost:8080

# Build&Run Port:
http://localhost:5000

TODO

  1. Fix bugs.
  2. User panel.
  3. Add more user controls.
  4. Deloy.

License

MIT

About

A simple collaborative online judgement platform supporting adding problems.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published