Run to install dependencies
npm i
Run task
(cmd|ctrl) + shift + p --> Run Task --> loadBalancer
With the recommended extension Rest Client
and try the requests directly in the test.http file.
Otherwise just run
npm run loadBalancer
go to test.http to see the possible requests.
Run task
(cmd|ctrl) + shift + p --> Run Task --> webSocketChat
Otherwise just run
npm run wsService2
and in other terminal
npm run wsWebServer
In either case: Now navigate to http://localhost:8888 and have fun. It's better to open in several tabs to see the sockets connecting and interacting.