Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeSync Banner

Stars Forks Issues Last Commit

🚀 About CodeSync

CodeSync is a full-stack real-time collaborative code editor that enables multiple developers to create secure rooms, write code together, communicate through live chat, and execute code from a shared workspace. It demonstrates real-time communication using Socket.IO and follows the MERN stack architecture.

Built using React, Node.js, Express, Socket.IO and MongoDB.


React Node.js Express MongoDB Socket.IO JWT

A real-time collaborative code editor built using the MERN Stack, allowing multiple users to write code together, communicate through live chat, and collaborate seamlessly.


📌 Features

  • 👥 Create and Join Collaboration Rooms
  • 💻 Real-time Collaborative Code Editor
  • 💬 Live Chat using Socket.IO
  • 👨‍💻 Multiple Users in the Same Room
  • ✨ Syntax Highlighting
  • 📋 Copy Room ID
  • 🚪 Leave Room Functionality
  • 🔐 JWT Authentication
  • 🗄 MongoDB Database Integration
  • ⚡ Real-time Code Synchronization
  • ▶️ Code Execution
  • 📁 File Upload Support
  • 📱 Responsive User Interface

🛠️ Tech Stack

Category Technologies
Frontend React, Vite, HTML, CSS, JavaScript
Backend Node.js, Express.js
Database MongoDB
Real-Time Socket.IO
Authentication JWT
Version Control Git, GitHub

📂 Project Structure

CodeSync/
├── client/
│   ├── public/
│   ├── src/
│   └── package.json
│
├── server/
│   ├── controllers/
│   ├── models/
│   ├── routes/
│   ├── middleware/
│   ├── sockets/
│   └── package.json
│
├── .gitignore
└── README.md

⚙️ Installation

Clone Repository

git clone https://github.com/Harsh-128/CodeSync.git
cd CodeSync

Install Client

cd client
npm install

Install Server

cd ../server
npm install

Configure Environment Variables

Create a .env file inside the server folder.

PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key

Start Backend

cd server
npm run dev

Start Frontend

cd client
npm start

📸 Project Screenshots

🏠 Home Page


🚪 Create / Join Room


💬 Live Chat


🚀 Future Improvements

  • Voice Chat
  • Video Calling
  • AI Code Suggestions
  • Collaborative Whiteboard
  • Multiple Programming Languages
  • Theme Customization

👨‍💻 Author

Harsh Sharma


⭐ Support

If you like this project, please give it a ⭐ on GitHub.

About

Real-Time Collaborative Code Editor built with React, Node.js, Express, Socket.IO and MongoDB.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages