Skip to content

jagadeesh-k-2802/code-exec-full-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

CodeExec is a Full Stack Web Application Built With React, Node.js to Execute User Entered Program and Give Output

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published