Skip to content

Here, made authentication each user have their own private as well as public IDE room, where they can code multiple programming languages and also terminal to run the program, and also collaborate with multiple people single time where they can code , and also have chatting feature.

Notifications You must be signed in to change notification settings

shivam20242/collaborativeIDE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 

Repository files navigation

Collaborative Real-Time Code Editor (Web IDE)

Collaborative IDE is a powerful real-time web-based code editor that allows multiple users to write, edit, and run code together seamlessly.
It includes a built-in chat feature, live terminal output, secure authentication, and private coding rooms for teams or individuals.

With support for multiple languages and real-time collaboration powered by WebSockets, itโ€™s designed for learning, interviews, and collaborative programming.


โœจ Features

  • ๐Ÿ”— Real-Time Collaboration โ€“ Multiple users can edit code simultaneously
  • ๐Ÿ’ฌ Integrated Chat โ€“ Communicate with collaborators while coding
  • ๐Ÿ–ฅ Live Code Execution โ€“ Run code directly in the terminal with real-time output
  • ๐Ÿ”’ Secure Authentication โ€“ Users can log in and create secure sessions
  • ๐Ÿ  Private & Personal Rooms โ€“ Create and join secure rooms for collaborative or private coding
  • ๐ŸŒ Multi-Language Support โ€“ Execute code in various programming languages via Piston API
  • ๐ŸŽจ Monaco Editor Integration โ€“ VS Code-like editing experience with syntax highlighting and autocompletion

๐Ÿ›  Tech Stack

  • Frontend: React.js, Socket.IO, Monaco Editor
  • Backend: Node.js, Express.js, Socket.IO
  • Database: MongoDB
  • Authentication: JWT (JSON Web Tokens)
  • Code Execution: Piston API

๐Ÿš€ Getting Started

โœ… Prerequisites


โš™๏ธ Installation

  1. Clone the repository:
    git clone https://github.com/shivam20242/collaborativeIDE.git
    cd collaborativeIDE

2.Install Dependencies npm install 3.Set up environment variables: Create a .env file in the root directory and add:

MONGO_URI=your_mongodb_connection JWT_SECRET=your_secret_key PISTON_API_URL=https://emkc.org/api/v2/piston

4.Start the development server:

npm run dev

๐Ÿ’ป Usage

Register or log in to your account

Create or join a room (public or private)

Start coding in the collaborative editor with your teammates

Use the chat feature to communicate in real-time

Run code and see the terminal output instantly

๐Ÿ“‚ Project Structure collaborativeIDE/ โ”‚โ”€โ”€ client/ # React frontend with Monaco Editor โ”‚โ”€โ”€ server/ # Node.js + Express.js backend โ”‚โ”€โ”€ models/ # MongoDB schemas โ”‚โ”€โ”€ routes/ # API endpoints โ”‚โ”€โ”€ sockets/ # Socket.IO handlers for real-time collaboration โ”‚โ”€โ”€ .env # Environment variables โ”‚โ”€โ”€ package.json

๐Ÿ”ฎ Future Enhancements

๐Ÿ“Š Code history and versioning

๐Ÿ“ฑ Mobile-friendly editor support

๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘ Pair-programming interview mode ๐ŸŒ Live Demo & GitHub

Live: Collaborative IDE(https://colllaborativeide.onrender.com)

About

Here, made authentication each user have their own private as well as public IDE room, where they can code multiple programming languages and also terminal to run the program, and also collaborate with multiple people single time where they can code , and also have chatting feature.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published