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.
- β 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
| Layer | Tools & Libraries |
|---|---|
| Frontend | React, CodeMirror, React Router, react-hot-toast |
| Backend | Node.js, Express |
| WebSocket | Socket.IO |
| Notifications | react-hot-toast |
| Editor | CodeMirror |
| Join Room Page | Code Editor Page |
|---|---|
![]() |
![]() |
- π 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
# 1οΈβ£ Start the backend
npm install
node server.js
# 2οΈβ£ Start the frontend
cd client
npm install
npm start
