RunCode is an online code editor and compiler that enables real-time collaboration between two users in the same room. It allows both users to write, edit, and execute code simultaneously, with changes instantly reflected for both participants. The platform includes a built-in terminal to run code, making it an ideal tool for collaborative coding sessions.
- Real-time Collaboration: Allows two users to code together in real-time, with instant reflection of changes.
- Integrated Terminal: Includes a terminal for executing code within the editor.
- Simultaneous Code Execution: Both users can run their code at the same time, fostering collaboration.
- User-Friendly Interface: Clean and intuitive design for a seamless coding experience.
- No Setup Required: Accessible directly through the browser, with no installation needed.
- Support for Multiple Languages: Compatible with various programming languages for diverse coding needs.
To install and run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Shobhit2205/RunCode.git
-
Navigate to the folder:
cd RunCode
-
Install dependencies:
cd server npm install
-
Start the backend server:
npm run start
-
Run directly with docker:
docker compose up
The server should now be running on http://localhost:8000.
-
starting frontend and Install dependencies:
cd client npm install
-
Start the Frontend:
npm run dev
The client should now be running on http://localhost:5173.
- Open your browser and navigate to the frontend of your application.
- Once connected, Enter your name and create a new room and join.
- Now you can share the room ID with your friend to collaborate with you for code.
-
Fork the repository.
-
Create a new branch:
git checkout -b feature/your-feature
-
Make your changes and commit them:
git commit -m "Add a new feature"
-
Push your changes:
git push origin feature/your-feature
-
Submit a pull request.