Socket.io + TypeScript : Build Type-Safe Real-time Apps

Опубликовано: 17 Март 2026
на канале: Thabish Kader
4,127
65

Learn how to build scalable, efficient and type-safe real-time applications with Socket.IO and TypeScript. This video will guide you step by step through the process of setting up a project with these technologies, from installing dependencies to coding the client and server. If you are 'new to real-time communication, this video will help you out.

Repo - https://github.com/Thabish-Kader/sock...
Buy me a Coffee: https://www.buymeacoffee.com/takdevelopr

0:00 intro
0:50 initial config
4:46 installing socket.io
14:15 explaining socket.io
17:46 creating type definitions for client and server
23:20 UI for user inputs
27:21 emitting data from client to server
29:01 passing the types to server
30:34 listening to event from client in server
31:56 firing an event from server to all clients
33:01 fetching the data from server to client
37:15 demo
37:42 demonstration of broadcast
39:09 explaing and creating rooms
41:38 demo of rooms
44:39 bonus : socket.io admin-ui