SyntaxMeets
SyntaxMeets copied to clipboard
Move Socket Outside
Describe the bug I think we should move all socket.io code outside of index.js in the backend because there is a bunch of socket.io events happening in index.js.
To Reproduce
Expected result We can create an object of the socket in the socket.js file which we store in Utils folder So I think it's easy to understand index.js code and also code will be refactored in proper structure
Actual result
Screenshots
Are you willing to contribute to this issue? Yes
Desktop (please complete the following information):
- OS: Windows 10
- Browser Chrome
- Version 89.0.4389.114
Smartphone (please complete the following information):
Additional context
Your point seems realistic. @nishant23122000 this will help us in extending the socket in the future @kothariji
@Vishv07 Yes
Hi @nishant23122000 , First of all, thank you so much for taking out the time to work on this issue.
Definitely π, Please go forward to work on this issue. I am assigning this Issue to you π
And last but not least, Keep Contributing ππ₯