I want to listen to the event from a service provider. So, I decided to use the target URL to listen to the events, while the app install event I am getting the target URL. I want to send the event to the Frontend(app.js) through the socket.
But I can’t integrate the same in server.js. How to implement the socket.io in server.js to emit the event to app.js? also, I need to connect to the target URL from app.js.