CodeCollab is an interactive, real-time collaborative coding platform that enables multiple users to code together simultaneously, chat, and share ideas in a seamless environment.

Features
- Real-time Collaboration: Code together with teammates in real-time
- Multiple Language Support: JavaScript, Python, Java, C#, C++, PHP, Ruby, Go, Swift
- Live Chat: Communicate with team members while coding
- Password Protected Rooms: Secure your coding sessions
- User Authentication: Google OAuth and local authentication
- Syntax Highlighting: Clear code visualization with theme options
- Responsive Design: Works on desktop and mobile devices
Tech Stack
- Frontend: HTML5, CSS3, JavaScript, Bootstrap 5
- Backend: Node.js, Express.js
- Real-time Communication: Socket.IO
- Code Editor: CodeMirror
- Authentication: Passport.js
Getting Started
Prerequisites
- Node.js (v14 or higher)
- npm or yarn
Installation
- Clone the repository:
git clone https://github.com/jayashish05/Code-Collab-Beta-v1.git
cd Code-Collab-Beta-v1
- Install dependencies:
- Create a
.env
file in the root directory with the following variables:
PORT=3000
SESSION_SECRET=your_session_secret
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
CALLBACK_URL=http://localhost:3000/auth/google/callback
- Start the development server:
- Open your browser and navigate to
http://localhost:3000
Usage
- Sign In/Register: Use Google account or create a local account
- Dashboard: View active rooms or create a new room
- Create Room: Set room name, language, description, and optional password
- Join Room: Click on any available room to join (password required if protected)
- Collaborate: Code together, chat, and share ideas in real-time
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
)
- Commit your changes (
git commit -m 'Add some amazing feature'
)
- Push to the branch (
git push origin feature/amazing-feature
)
- Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Jayashish Muppur - @jayashish05
Project Link: https://github.com/jayashish05/Code-Collab-Beta-v1