Skip to content

tomasruizr/node-certification-study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playground to study NodeJS fun stuff.

Run to install dependencies

npm i

2 different exercices

LoadBalancer

If running on VsCode:

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.

WebSocket chat

If running on VsCode:

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published