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
- 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!
https://github.com/hitenSharm/IDE-2.0-Frontend
MIT
Free Software, Hell Yeah!