Coder Social home page Coder Social logo

jigyansunanda / online-code-runner Goto Github PK

View Code? Open in Web Editor NEW
29.0 2.0 10.0 82.24 MB

A full-stack web application that compiles and runs code in C++ and Python

License: MIT License

JavaScript 69.97% HTML 3.42% CSS 26.60%
code-compiler online-code-editor online-compiler

online-code-runner's Introduction

Online Code Runner

Welcome. This is an online text editor, that runs code in C++ and Python.

How to use

  • To try the code runner locally, download the codebase.
  • Make sure you have following installed in your system: react, NodeJS, Mongodb, Redis and Bull. I have also used nodemon for help in development while working in NodeJS.
  • To run the client-written code in their corresponding languages, you need to have GCC compiler and python installed in your machine.

Then follow the below guide to start (client) frontend and server (backend) part of the application.

Activate Client side

  • Open Terminal
  • Go to client directory inside the project codespace
  • Write npm start. This will open the client side build with react on port:3000 on your local machine

Activate Server side

  • Open Terminal
  • Go to backend directory inside the project codespace
  • Write npm run. If you have the above mentioned entities installed on your machine, you should be able to see a log of Listening on port 5000 and Successfully connected to Mongodb database on terminal window.
  • Optional: If you have nodemon installed on your machine, then you can use npm run dev instead of npm run. This will keep the backend in check on any changes made by you, and refresh the server accordingly.

Change programming language

Code exceution status

Switch theme

online-code-runner's People

Contributors

jigyansunanda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

online-code-runner's Issues

Application name is misleading

Application name is misleading as it's an online code editor as it takes user code and runs it in backend server, compiles over there and responds with output. I do not compiler with my own designed compiler. So the name should be changed to online code runner.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.