Skip to content

🚀 Code Sync - A real-time collaborative code editor built with React, Socket.IO, and CodeMirror, powered by a custom Node.js (server.js) backend. It lets multiple users join a room, write code together live, and see updates in real time — with smooth UI alerts using react-hot-toas

Notifications You must be signed in to change notification settings

Raghunandan0/Code-Sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ Code Sync — Real-Time Collaborative Code Editor 🧑‍💻📝

Code Sync is a real-time collaborative code editor built using React, Node.js, and Socket.IO.
It enables multiple users to write, sync, and share code in live sessions — just like Google Docs for developers.

A modern full-stack app showcasing WebSockets, event-driven systems, and frontend/backend sync in action.


🚀 Features

  • ✅ Real-time code syncing with Socket.IO
  • ✅ Room-based collaboration — join via Room ID
  • ✅ Live join/leave user toasts via react-hot-toast
  • ✅ Syntax highlighting via CodeMirror
  • ✅ Shareable Room ID with one click
  • ✅ Clean, responsive UI with React

🛠️ Tech Stack

Layer Tools & Libraries
Frontend React, CodeMirror, React Router, react-hot-toast
Backend Node.js, Express
WebSocket Socket.IO
Notifications react-hot-toast
Editor CodeMirror

📷 Screenshots

Join Room Page Code Editor Page
Join Page Editor Page

🧠 Learning Goals

  • 🔄 Building real-time collaborative tools with WebSockets
  • 📡 Managing user sessions and socket events
  • 🧩 Room-based architecture with client sync
  • 🎨 Integrating rich-text/code editors in React apps
  • 🧠 Building clean full-stack applications from scratch

📦 How to Run Locally

# 1️⃣ Start the backend
npm install
node server.js

# 2️⃣ Start the frontend
cd client
npm install
npm start

About

🚀 Code Sync - A real-time collaborative code editor built with React, Socket.IO, and CodeMirror, powered by a custom Node.js (server.js) backend. It lets multiple users join a room, write code together live, and see updates in real time — with smooth UI alerts using react-hot-toas

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published