About • Local Development • Features • Language Support • Documentation • Suggestions
A Django based API backend for COLAB-IDE.
$ git clone https://github.com/sinmrinal/collab-ide-backend.git && cd collab-ide-backend
-
Install virtualenv
$ pip install virtualenv
-
Create Enviroment
$ virtualenv env
-
Activate Enviroment
$ source env/bin/activate
# Install dependencies
$ pip install -r requirements.txt
Now you can run the application by :
# Set TOKEN
$ export TOKEN="add your token here without quotes."
# Run the project
$ python3 manage.py runserver
# Projects runs on http://localhost:8000
$ git clone https://github.com/sinmrinal/collab-ide-backend.git && cd collab-ide-backend
$ docker build -t collab-backend-image .
$ docker run -d --name collab-backend -p 8000:8080 collab-backend-image
Feature | Status | Stability |
---|---|---|
Done | Stable | |
Compile Code | Done | Stable |
Collaborate | Done | Exprimental |
Chat WebSocket | TODO | - |
CLI | WIP | - |
Save Project on Server | TODO | - |
Language | Support |
---|---|
C | ✔️ |
C++ | ✔️ |
Java | ✔️ |
python | ✔️ |
Go | ✔️ |
✔️ | |
Rust | ✔️ |
Request | Protocal | Type | Payload | Response |
---|---|---|---|---|
HTTP | GET | - | boilerplate |
|
Compile Code | HTTP | POST | {language, code, input} |
{language, output} |
Create Room | HTTP | POST | {roomName, adminName, token} |
{roomID, roomName, createdBy, createdOn} |
Join Room | HTTP | POST | {roomID, userName, token} |
{roomID, roomName, createdBy, createdOn, joinedBy} |
Reach out to me at one of the following places:
- LinkedIn: Mrinal Singh
- E-Mail: mrinal_singh@outlook.com