Inspiration

many online compilers out there but I wondered how they can compile the user submitted code in the servers hosted online so ,I thought what I have recently learned "Docker " which is a containerised solution for malware or uesr submitted code which can provide high security

What it does

CodeRealm is online code compilation web application which is powered by Docker and uses RabbitMQ for the queueing the user submitted code to ensure robustness and dynamic code template creation whenever the admin adds a problem to the database based on the language and parameters provided

How I built it

I have used MERN stack ,Mongodb for the database for storing the problems ,user data ,user submissions, Express js for backend routing and handling the the message queues and validating the result came from docker container ,user management , Reactjs for frontend and parsing the frontend code and passing it to backend server and fetching the results using axios.most of the exicting part is the backend how the Admin adds the problem statement to the website and it creates a dynamic code template for different languages

Challenges I ran into

during this project i was finding a way to execute a way to executing the code in the docker container and I found a library called Dockerode to make connection and talk with external docker in the system and the dynamic code template creation while handling with strings

Accomplishments that I'm proud of

I proudly say that I have tested the application and made completely working and designed a nice user friendly user interface for our CodeRealm

What's next for Code Realm

i am seeing forward to integrate AI in code judging and the results and available to most of the people

Share this project:

Updates