Screencast.from.2024-07-27.15-27-33.webm
CollabCode is a real-time collaborative coding platform that allows users to collaborate on coding projects in real-time. It enables multiple users to edit code simultaneously, providing features like formatting options, and real-time updates as well as few problem statements to work on. It is deployed on aws ec2 instance and allows users to run and save code on aws s3 container. It currently supports C, C++ , Java and Python code.
- Real-time collaboration: Multiple users can edit code simultaneously, and changes are reflected in real-time for all participants.
- Formatting options: Users can apply formatting options such as bold, italic, and underline to the code.
- File upload: Users can upload files to work on projects together.
- Problem Statements for Users to Solve
- Support for users to code in various programming languages (C, C++, Java, Python)
- Frontend: React.js, Socket.IO, Axios
- Backend: Node.js, Express.js, Socket.IO, AWS SDK
- Deployment: AWS EC2
- Other: Multer (for file uploads), AWS S3 (for file storage)
To get started with CollabCode, follow these steps:
- Clone the repository:
git clone https://github.com/eshan1347/CollabCode.git
- Navigate to the project directory:
cd CollabCode
- Install dependencies:
- Frontend:
cd frontend && npm install
- Backend:
cd backend && npm install
- Frontend:
- Set up environment variables:
- Create a
.env
file in the backend directory and add your environment variables, such as AWS credentials.
- Create a
- Start the frontend and backend servers:
- Frontend:
cd frontend && npm start
- Backend:
cd backend && npm start
- Frontend:
- Access CollabCode in your web browser at
http://localhost:3000
. - If the server is up : directly browse to and start : http://52.66.45.134:5173/
Contributions are welcome! If you'd like to contribute to CollabCode, please fork the repository, make your changes, and submit a pull request. Make sure to follow the existing code style and conventions.