How to build a client for real-time communication with WebSockets in TypeScript using the ws NPM package.
💬 Join the conversation on Discord / discord
🧠 Machine Intelligence Playlist: • 🧠 Machine Intelligence
🔴 Live Playlist: • 🧠 Live Streams
🕸 Web Development Playlist: • 🚀 Web
🍃 Getting Simple: gettingsimple.com
🎙 Podcast: gettingsimple.com/podcast
🗣 Ask Questions: gettingsimple.com/ask
💬 Discord: / discord
👨🏻🎨 Sketches: sketch.nono.ma
✍🏻 Blog: nono.ma
🐦 Twitter: / nonoesp
📸 Instagram: / nonoesp
==================
🎥 VIDEO CHAPTERS
==================
00:00 Introduction
00:24 Project setup
00:43 Dependencies
01:18 Configuring TypeScript and ts-node
01:51 Project files
02:21 Client Code
03:25 WebSocket event handlers
04:18 Connecting to a server
05:53 Outro
10 июл 2024