Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 2.17 KB

README.md

File metadata and controls

44 lines (31 loc) · 2.17 KB

CodeExec 💻⚙️

Features 📲

  • Execute any Program with Available Programming Languages With Input
  • Auto Run feature Executes Code As the User Makes Changes to Code
  • Uses Queue to process requests with fault tolerance and scalability

Architecture 📄

Running The Application 🧑🏻‍💻

  • git clone https://github.com/jagadeesh-k-2802/code-exec-full-stack
  • cd server && npm i
  • Configure all required environment variables in server/config/config.env.example
  • Remove .example from the filename it should be config.env
  • Make sure to install neccessary programs for executing/compiling the programming languages
  • Install RabbitMQ Message Queue
  • npm run dev:server to start the node server
  • npm run dev:consumer to start queue consumer node process
  • cd client and run npm i to install npm packages
  • thunder-client-collection.json contains API docs and can be loaded with Thunder Client Extension
  • npm run dev to start local development react server

Warning

Executing a user given code and input on our server is really dangerous security issue if not handled properly the user can execute malicious code so make sure the consumer process is running inside a container where everything is restricted and causes no harm.

Screenshots 📷

Screen Record 📽️

CodeExec.mp4