An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          



![loglo](https://github.com/amitanshusahu/LetsCode-fullstack/assets/83657737/bd33e6cc-e310-41de-b22e-987c1fbd9c18)

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