Code Sync is a Realtime code editor made using React.js, Socket IO, and CodeMirror. With Code Sync, two or more people can share their code in a room in real-time.
To run Code Sync locally, follow these steps:
- Clone this repository to your local machine.
- Navigate to the project directory in your terminal.
- Run
npm install
to install the dependencies. - Run
npm start
to start the development server. - Open http://localhost:3000 to view it in the browser.
To use Code Sync, follow these steps:
- Open the application in your browser.
- Create a new room or join an existing one by entering a room ID.
- Share the room ID with the people you want to collaborate with.
- Start coding! Changes made by one person will be reflected in real-time for all others in the same room.
Code Sync includes the following features:
- Real-time code syncing
- Multiple users in a single room
- Code highlighting and formatting with CodeMirror
If you would like to contribute to Code Sync, feel free to fork the repository and submit a pull request. Before submitting a pull request, make sure to run npm run lint and npm run test to check for any errors or issues.
Code Sync is released under the MIT License