Little example how to use to create Server and Client, to send data with Websockets :D.
First run:
npm i
Before this, first you must execute the server:
npm run server
And now, you must execute the client:
npm run client
You can view a message into server and the client :D.
If you want to help me improve the example, you can invite me to a coffee and appear as a patron :).