Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Real_Time_Code-Editor

A real-time, multi-user collaborative code editor built using Spring Boot, React, and Tailwind CSS, enabling multiple users to edit code simultaneously within isolated rooms using WebSockets.

This project demonstrates real-time communication, concurrent session handling, and scalable backend design, similar to collaborative tools like Google Docs or online IDEs.

🚀 Features

🔴 Real-time code synchronization using WebSockets

👥 Multi-user rooms (isolated collaboration per room)

⚡ Low-latency bi-directional communication

🧵 Thread-safe session management

🎨 Clean and responsive UI using Tailwind CSS

🧠 Scalable architecture ready for distributed systems

🏗️ System Architecture Client (React) ↓ WebSocket Spring Boot WebSocket Server ↓ Room-based Session Manager ↓ Broadcast updates to users in same room

Each room maintains its own set of WebSocket sessions

Messages are broadcast only within the same room

Thread safety ensured using ConcurrentHashMap and CopyOnWriteArraySet

🛠️ Tech Stack Frontend

React

Tailwind CSS

WebSocket API

Backend

Spring Boot

Spring WebSocket

Java Concurrency Utilities

Communication

WebSockets (Full-duplex, real-time)

About

Real-Time Collaborative Code Editor built using Spring Boot, WebSockets, React, and Tailwind CSS. Enables multiple users to collaborate in isolated rooms with low-latency real-time updates, thread-safe session handling, and scalable backend architecture.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors