An open API service indexing awesome lists of open source software.

https://github.com/shreyasy2k/compilor

Online Compiler using JDoodle
https://github.com/shreyasy2k/compilor

bootstrap compiler css html jdoodle-api nodejs online-compiler

Last synced: about 1 month ago
JSON representation

Online Compiler using JDoodle

Awesome Lists containing this project

README

          

# compilor
Online Compiler using JDoodle API
> **Prereqisites:**
* [nodejs](https://www.nodejs.org)
* [npm](https://www.npmjs.com)
* [Jdoodle Account](https://www.jdoodle.com)
* [Heroku Account](https://www.heroku.com)(optional)

# Working
* The client side is built using HTML CSS Vanilla JS.
* Clone the repository and open index.html with a Live Server or Xampp. Client should be ready now
* Open terminal and navigate to server folder.
* This is a Web application which uses the Jdoodle api on the server side to satisfy client requests
* Replace the clientId and clientSecret with your Jdoodle credentials.
* Run "npm install" to install dependencies.
* Then run "npm start" or "node server.js" to start the server.
* Your app is now deployed locally
* You can download the entire [CodeMirror](https://www.codemirror.net) zip to alter the style of the editor.

# Server Deployment:[Heroku](https://www.heroku.com)
* To deploy on heroku signin to your heroku account. Creat a nodeJS app.
* Follow further instrictions to deploy your app on heroku.
* Replace the fetch URL in the script.js file with your server URL.

# Live Preview : [click here](https://www.compilor.tech)