Skip to content

gungorefecetin/web-code-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collaborative Code Editor

A real-time collaborative code editor built with React, Node.js, and Socket.io.

Features

  • Real-time code synchronization
  • Monaco Editor integration
  • Multiple user support
  • Room-based collaboration

Prerequisites

  • Node.js (v14 or higher)
  • MongoDB
  • npm or yarn

Setup

Backend

  1. Navigate to the backend directory:
cd backend
  1. Install dependencies:
npm install
  1. Create a .env file with the following variables:
PORT=3001
MONGODB_URI=mongodb://localhost:27017/code-collab
NODE_ENV=development
  1. Start the development server:
npm run dev

Frontend

  1. Navigate to the frontend directory:
cd frontend
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev

The application will be available at:

Tech Stack

  • Frontend:

    • React with TypeScript
    • Vite
    • Monaco Editor
    • Socket.io Client
    • Styled Components
  • Backend:

    • Node.js
    • Express
    • Socket.io
    • MongoDB
    • Mongoose

About

Real-time collaborative code editor with room-based sessions, Monaco Editor, and live sync via Socket.io — React + TypeScript frontend, Node.js + Express + MongoDB backend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors