I am trying to integrate sockets in medusa.js for a project, as the client has requested that I use sockets.
The issue I am getting is that I want to run the socket server on the same port as the Medusa server, but I haven't gotten any clue how to do this. I can create a loader for this, but unfortunately, I don't have access to the Express server that Medusa is running on
So if anyone has an idea on how we can do this, please let me know. I would really appreciate it. Thanks 🙂