Live build is now fully functional with 7 languages, and more to come
Upload or snap a picture of code and execute it
- optimized, much faster than V.1 (Now containerized and faster than ever!)
- multiple language support
- fixed code execution
- formatted for mobile
Make sure you have Node.js and MongoDB installed.
git clone https://github.com/dy-fi/CodeSnatch
cd CodeSnatch
npm install
nodemon app.js
The app should now be running on localhost:3000. Make sure MongoDB is installed and MongoDB Daemon is running.
Make sure you have Docker installed
git clone https://github.com/dy-fi/CodeSnatch
cd CodeSnatch
docker-compose up --build
Port 3000 is exposed in the Dockerfile and mapped to port 80 (HTTP) in the docker-compose file. You can remap ports with docker-compose up -p <host>:<target>
Testing is done with mocha, chai, and chai-http in the local environment. Use the command 'mocha' to run the tests
- Docker - Containerization and Cluster Fabrication
- Digital Ocean - Cloud Server Hosting