Co-Code is a real-time collaborative code editor and chat application built with the MERN stack (MongoDB, Express, React, Node.js). It allows multiple users to edit code simultaneously, see each other’s changes in real-time, and communicate via integrated chat.User can Run Code online also.
- Real-Time Code Collaboration: Users can collaborate on code in real time.
- Language Support: Select from multiple programming languages.
- Integrated Chat: Collaborate through built-in chat for easy communication.
- Run Code: Execute the code in various languages within the editor.
- Copy Room ID: Share the room ID to invite others to join.
- Responsive Design: Optimized for various screen sizes.
- Frontend: React.js
- Backend: Node.js, Express.js
- WebSockets: Socket.io for real-time communication
- Database: MongoDB for user data and session storage
- Code Execution: API integration for running code in multiple languages (e.g., Piston API)
- Mail System: Sending Room Code using user's mail to allow participate User using NodeMailer
- Clone the repository:
git clone https://github.com/Vipullakum007/CoCode.git
- Navigate to the project directory:
cd CoCode - Install dependencies for the backend and frontend:
cd backend_server && npm install cd ../frontend && npm install
- Start the backend server:
cd backend_server && npm start
- Start the frontend:
cd frontend && npm start
- Start websocket Server
cd webSocket_server && npm start
- Start Mail Server
cd email && npm start
- Register or log in with a username.
- Create a new room or join an existing room using the room ID.
- Start collaborating on code with others in real-time.
- Use the chat feature to communicate.
- Select the programming language and execute the code directly.
Feel free to submit issues or pull requests to improve the project.








