A collaborative, real-time code editor where users can seamlessly code together. It provides a platform for multiple users to enter a room, share a unique room ID, and collaborate on code simultaneously.
You can view the live preview of the project here.
Fork this repository: Click the Fork button located in the top-right corner of this page to fork the repository.
Clone the repository:
git clone https://github.com/<your-username>/Code-Sync.gitSet .env file:
Inside the client and server directories rename the .env.example file to .env and set the following environment variables:
Frontend:
VITE_BACKEND_URL=<your_server_url>Backend:
PORT=3000Install dependencies: Navigate to the frontend and backend directories separately and run:
npm installStart the frontend and backend servers:
Frontend:
cd client
npm run devBackend:
cd server
npm run devAccess the application: Open a browser and enter the following URL:
http://localhost:5173/We welcome contributions to make Code Sync even better! Whether you're reporting a bug, suggesting a new feature, or fixing a typo, your input is valuable to us. Follow the contribution guidelines to get started.
If you find this helpful or valuable, please consider ? starring the repository. It helps us gain visibility and encourages further development. We appreciate your support!
This project is licensed under the MIT License.
Special thanks to EMKC for providing the Piston API, enabling code execution. For more information, visit the following links:
Also, huge gratitude to Tldraw contributors for their amazing library. For more information about Tldraw, please visit:
Sahil Atahar |
|
|