In this video, I’m going to teach you how to create a real-time chat room using a WebSocket. We will be using Node.js on the back-end for our server implementation of the chat (using the WS package for the WebSocket implementation). On the front-end, we’ll be using basic HTML & JavaScript to consume our WebSocket. In this tutorial, I’ll be showing you how to connect multiple clients to your chat room which means you can have multiple people chatting.
Github: https://github.com/karlhadwen/node-ws-multi-chat
👕 T-shirts for programmers: https://bit.ly/3ir3Gci
🔔 Subscribe: https://www.youtube.com/c/CognitiveSurge/featured
#node-js #websocket