Steps to run client:
git clone https://github.com/angelocorreia27/demo-socket.git
cd demo-socket
npm install
npm start
or may need to run npm install with --legacy-peer-deps
npm install --legacy-peer-deps
Steps to run server:
git clone https://github.com/and-dzh3/ws-srv
cd ws-srv/
npm install
npm i -g typescript
./node_modules/.bin/tsc
node ./dist/server/server.js
run test with jest
npm run test