/Co-Edit

This web application is a real-time collaborative code editor that allows multiple users to write and edit code together seamlessly. It leverages modern web technologies to provide a responsive and interactive coding environment.

Primary LanguageTypeScript

Co-Edit - A Realtime Code Editor

Co-Edit is a collaborative, real-time code editor where users can seamlessly code together. It provides a platform for multiple users to enter a room, share a unique room ID, and collaborate on code simultaneously.

🔮 Features

  • 💻 Real-time collaboration on code editing across multiple files
  • 📁 Open, edit, save, and delete file functionalities
  • 💾 Option to download files edited within the collaboration session
  • 🚀 Unique room generation with room ID for collaboration
  • 🌍 Comprehensive language support for versatile programming

⚙️ Installation

  1. Fork this repository: Click the Fork button located in the top-right corner of this page to fork the repository.

  2. Clone the repository:

    git clone https://github.com/<your-username>/Co-Edit.git
  3. Set .env file: Inside the client and server directories rename the .env.example file to .env and set the following environment variables:

    Frontend:

    VITE_BACKEND_URL=<your_server_url>

    Backend:

    PORT=3000
  4. Install dependencies: Navigate to the frontend and backend directories separately and run:

     npm install
  5. Start the frontend and backend servers:
    Frontend:

    cd client
    npm run start

    Backend:

    cd server
    npm run start
  6. Access the application: Open a browser and enter the following URL:

    http://localhost:5173/