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
- Host: GitHub
- URL: https://github.com/shreyasy2k/compilor
- Owner: shreyasY2k
- Created: 2021-05-29T06:46:23.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-06-28T04:17:27.000Z (almost 4 years ago)
- Last Synced: 2024-04-14T14:03:33.183Z (about 2 years ago)
- Topics: bootstrap, compiler, css, html, jdoodle-api, nodejs, online-compiler
- Language: JavaScript
- Homepage: https://www.compilor.tech
- Size: 131 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)