A super simple websocket example!
- Navigate to this folder in a terminal
- Run
npm install
to download the dependencies - Run
node ws-server
to start the server - Visit
frontend.html
on a localhost webserver - Type messages to have them sent back over the socket!
- To start a bot singing, include the word
sing
in the message