Code Examples for my Blog Post: Create a Node.js Websocket Server in Five Minutes
The full Github repo can be found here: https://github.com/kevinchisholm/video-code-examples/tree/master/node/websocket-basic-server
- Clone this repo:
git clone [email protected]:kevinchisholm/video-code-examples.git
- Move into the project directory:
cd video-code-examples/node/websocket-basic-server/
(for example: cd ~/Desktop/video-code-examples/node/websocket-basic-server/)
- Install Dependencies:
npm install
node index.js
http://localhost:3000/