Skip to content

theanurin/stackoverflow.68511005

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How To

  1. Run the app
    npm install
    node app.js
  2. See results in app log:
    Server started on port 5000
    
  3. Open http://127.0.0.1:5000/
  4. See results in app log:
    Server started on port 5000
    A new socket has joined: IqEjjc0dBHYSHqpMAAAB
    

Notes

Using Postman to test SocketIO backend

According to Postman Now Supports Socket.IO you may use Postman as client for the demo

  1. Install Postman Version 8.10.0+
  2. In the left-hand sidebar, click New.
  3. Select WebSocket Request.
  4. Within the new tab’s header, click the drop-down that says Raw, and select Socket.IO instead.
  5. Type the address of your Socket.IO server into the URL bar.
  6. Click Connect.

Finally you should see something like that: README-files/PostmanConnection.png