Skip to content

A simple web ide that can compile multiple programming languages like c, c++, python3

License

Notifications You must be signed in to change notification settings

akhilmhdh/IDE-V1

Repository files navigation

IDE V1

A simple dockerized Nodejs Express backend to compile programs written C, C++, python3.

This is a really simple base version. Scaled version using k8 with a really efficient architecture is coming soon. 😄

Built With

Getting Started

Prerequisites

  • NodeJS
  • Docker

Installation

  1. Start the docker engine
  2. Clone the repo
    git clone https://github.com/akhilmhdh/ide.git
    cd ide
  3. Start the application using docker-compose
  docker-compose -f Dockerfile.dev up
  1. Visit http://localhost:8000

Running Test

    docker-compose -f Dockerfile.test up

Route

  • Endpoint: POST /code/compile
  • Request body format JSON
Key Value Required
script base64 encoded program code True
lang c, c++, python3 True
input base64 encoded program input False

Multiple needed programs can also be added furthur by changing the dockerfile and adding code running command in codeRunner class

License

Distributed under the MIT License. See LICENSE for more information.

About

A simple web ide that can compile multiple programming languages like c, c++, python3

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published