Skip to content

shreyasY2k/compilor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

compilor

Online Compiler using JDoodle API

Prereqisites:

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 zip to alter the style of the editor.

Server Deployment:Heroku

  • 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