Code Together is a real-time collaborative code editor for HTML, CSS, and JavaScript, built with React.js and Socket.IO. This application allows multiple users to write and edit code together in real-time, with changes instantly reflected across all connected clients.
Code.Together.-.Made.with.Clipchamp.mp4
- Real-time collaborative coding
- Separate editors for HTML, CSS, and JavaScript
- Live preview of the code output
- Intuitive and user-friendly interface
- Seamless WebSocket integration for real-time updates
- React.js: For building the user interface
- Socket.IO: For real-time WebSocket communication
- HTML5, CSS3, JavaScript: For code editing and live preview
Make sure you have the following installed:
- Node.js
- npm (Node Package Manager)
-
Clone the repository:
git clone https://github.com/codewithmurali/code-together.git cd collab-canvas -
Install server dependencies:
cd server npm instal -
Install client dependencies:
cd ../client npm install
-
Start the server:
cd server node server.jsor for automatic restart on changes:
cd server nodemon server.js -
Start the client:
cd ../client npm start -
Open the application:
Open your browser and navigate to http://localhost:5173. -
Open multiple tabs/windows:
To test real-time collaboration, open the application in multiple browser windows or tabs.