Skip to content

Move Socket Outside  #110

@nishant23122000

Description

@nishant23122000

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

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions