https://github.com/amitanshusahu/letscode-fullstack
A LeetCode like platform but with a different design, executes user submited code in a container and send back the result as response
https://github.com/amitanshusahu/letscode-fullstack
monaco-editor node-multi-threading nodejs rabbitmq reactjs
Last synced: 8 months ago
JSON representation
A LeetCode like platform but with a different design, executes user submited code in a container and send back the result as response
- Host: GitHub
- URL: https://github.com/amitanshusahu/letscode-fullstack
- Owner: amitanshusahu
- Created: 2023-05-25T05:45:11.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-01T11:09:38.000Z (over 2 years ago)
- Last Synced: 2024-11-07T07:36:37.035Z (about 1 year ago)
- Topics: monaco-editor, node-multi-threading, nodejs, rabbitmq, reactjs
- Language: JavaScript
- Homepage:
- Size: 350 KB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

LetsCode
https://github.com/amitanshusahu/LetsCode-fullstack/assets/83657737/72afd4c1-a597-4c7b-bcb4-109471b8a69e
---
### 🖥️ Machine Requirements
- it should have docker up and running
- nodjs
- npm
- port `5672`, `3010` are available
- pull docker images- node and gcc
```bash
docker pull node
docker pull gcc
```
## 📌 Setting Up The Project
- clone the repo and go inside the clone folder
- Open the terminal and run rabbitmq on port 5672
```bash
docker run -p 5672:5672 rabbitmq
```
- go to the server directory and install packages
```bash
cd server && npm i
```
- run the server
```bash
node index.js
```
- go to the client directory and install packages
```bash
cd ../client && npm i
```
- run the client server
```bash
# the following command will show a link click it
npm run dev
```
## 🗒️ Refrence
- [Run user submitted code in a backend and send response back to the client](https://github.com/amitanshusahu/node-containerized-execution-env)
⭐ Star the Repo