DhanushNehru / CustomCodeEditor

A web-based tool that allows users to write, test, and execute code in various programming languages seamlessly
https://custom-code-editor.vercel.app/
Apache License 2.0
31 stars 39 forks source link

Integrating Socket.io for real time coding with peers #126

Open TheAdich opened 1 month ago

TheAdich commented 1 month ago

Hello @DhanushNehru,

I have an idea for the project that involves creating a backend server connected to a database.

The concept is to allow users to either join or create a room upon logging in. Users within a particular room will be able to write and sync code in real-time. For example, if I am writing something, the same code will be visible to other users in the room simultaneously.

In the past, I have built a similar application, and I would like to integrate this feature into your project as well, making it a real-time collaborative application. For the backend, I propose using Node.js, Express.js, MongoDB for the database, and Socket.io for WebSockets.

If you like this idea, please consider assigning this implementation to me. I am looking forward to contributing!

DhanushNehru commented 1 month ago

Looks interesting, make sure to update the readme md as well in order to setup the project Accordingly

Currently its hosted in vercel . The instructions to make it run there also will be needed @TheAdich

TheAdich commented 1 month ago

Update the socket part is mostly done , just working on ui/ux

TheAdich commented 1 month ago

Hello @DhanushNehru I have completed the web sockets part and the backend is deployed on render however this leads to create two seperate folder one for frontend and other for backend to which i am not able to raise PR as the github says these two branches are completely different https://github.com/TheAdich/CustomCodeEditor/tree/deploy This is the link of your app architecture Either you could change the structure for your repo or you can pull my changes and update it on the repo

DhanushNehru commented 1 month ago

Hi @TheAdich actually many new features has been introduced, try to fork the repo and copy paste the code which you did so it might work

Also make sure the folder names are proper