Skip to content

liumingzw/learn-socket.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learn-socket.io

Learn how to use socket.io and socket.io-client to send data.

How to run

  1. mkdir called "build" in root directory
  2. copy /index.html to directory of "build"
  3. npm install
  4. set up server: open terminal-1 and npm run start-socket-io
  5. set up client: open terminal-2 and npm start
  6. open http://localhost:8012 in browser, click buttons to send data
  7. check the logs of server and front

About

Learn socket.io and socket.io-client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published