Skip to content

ShawnLi1014/CollaborativeOJ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 

Repository files navigation

Let's Code

This is a leetcode-like Collaborative Online Coding Platform, which allows users to solve coding problems in teams and edit codes collabratively.

Front end

Angular7

Back end

  • Built RESTful API using Node.js and Express
  • Used Docker to emulate a Linux enviroment for user code execuating service
  • Implementd an API for code execuating service with Flask

Demo

*Collaborative Editing

Collaborative editing

*Code Execuation

Code Execuation

How to have this project run on your computer

  1. Have redis and Docker run on your computer
  2. If you're on a Linux computer, just sudo sh launcher.sh
    Otherwise:
       cd ./oj-server 
       npm install
       nodemon server.js 
       cd ../oj-client
       npm install
       cd ../executor
       pip2 install -r requirements.txt
       python2 executor_server.py