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