Socket.io on backend and socket.io client on react front end issue
anybody here familiar with socket.io and socket.client??
for some reason when i run both my server and front end i dont see any console logs
Request URL:
ws://localhost:5178/
Request Method:
GET
Status Code:
101 Switching Protocols
this is what i see in the network tab
my backend is running on port 3000
I’m new to socket.io and I’m not understanding why I’m not seeing my console logs on the front end or backend I’m not seeing any cors errors in the console either
For some reason my network tab logs the above sending a request to a different port even tho my server is on port 3000
My app.js file contains the server creation and everything I’m exporting the server to server.js file where I’m listening to the app I did this as I was testing my express app using super test
I’d love some guidance
https://github.com/moahnaf11/Messaging-App-Backend
Relevant field app.js and server.js
