Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shuvoprogram/online_code_editor
A full-stack web application that compiles and runs code in C++ and Python
https://github.com/shuvoprogram/online_code_editor
code-compiler online-code-editor online-compiler
Last synced: 3 days ago
JSON representation
A full-stack web application that compiles and runs code in C++ and Python
- Host: GitHub
- URL: https://github.com/shuvoprogram/online_code_editor
- Owner: ShuvoProgram
- Created: 2024-06-26T13:49:09.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-26T14:25:10.000Z (5 months ago)
- Last Synced: 2024-06-27T23:45:29.377Z (4 months ago)
- Topics: code-compiler, online-code-editor, online-compiler
- Language: JavaScript
- Homepage:
- Size: 2.01 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Online Code Runner
Welcome. This is an online text editor, that runs code in
C++
andPython
.
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 machineActivate 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