Skip to content

hitenSharm/IDE-2.0

Repository files navigation

Remote Code Executor

Backend for my online IDE

CodeFactor

Have you ever wondered how code execution is done by online IDE's?

This project will help you understand! I have tried to make it as organised and as easy to run as I could possibly make it. Take a look at the routes/codeExecutor/langs/example.js file and you will realise that it really can be that simple!

P.S. I would also reccomend you to read this before trying to understand the project: Child Processes

It uses NodeJS and Docker for code execution of c++ and python code.

  • NodeJS and Docker
  • MongoDB and JWT

Features

  • Code execution using Node inside Docker containers.
  • Authentication using JWT
  • Save and edit your code at anytime. Code saved in MongoDB
  • Provide user input to code
  • Helpful error messages.
  • All saved codes get prefetched to reduce future latency!

allcodes
code execution
editing and errors
saveCode

frontend

Frontend

https://github.com/hitenSharm/IDE-2.0-Frontend

License

MIT

Free Software, Hell Yeah!

About

Backend for my Remote Code Executor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published