MENU

Fun & Interesting

Want to make a chat app? Get Real-time With WebSockets & Socket.io!

Good Morning Developers 24,347 lượt xem 10 months ago
Video Not Working? Fix It Now

Learn how to make a chat app from scratch with Socket.io in just 90 minutes! We'll also look at how to make a real-time, online game with the same concepts! Join Rob, as he breaks down the entire process of using socket.io and WebSockets providing you with all the tools and knowledge you need. Whether you're a beginner or have some experience, this tutorial will ensure you have a solid understanding of Socket.io. We'll cover setting up a server, connecting to it, the main methods and go through the docs to empower you further! Subscribe now and let's get started!

Link to project code: https://github.com/robertbunch/socket.io-explained

Full Socket.io Course on Udemy if you need more detail (More details, project-based, and slower) (costs $10-$13): https://www.udemy.com/course/socketio-with-websockets-the-details/?couponCode=4748FFFD7A3CBF4C5B17

Other videos/playlist if you need them
Why socket.io over websockets: https://youtu.be/9PkxDoxTeNc
What is a network socket: https://youtu.be/bE-e9ANzYGo
Agar.io code: https://github.com/robertbunch/socketioTheDetails/tree/main/agarClone
Admin UI video: https://www.youtube.com/watch?v=EpheR0gO24U
WebRTC tutorial that implements socket.io: https://youtu.be/g42yNO_dxWQ

0:00 - Purpose of this video
2:22 - Video structure
5:13 - What is socket.io
12:41 - What about websockets?
19:45 - What is a socket (in 2 minutes)?
22:34 - Coding section introduction
25:46 - Setting up socket.io server (and client)
38:39 - Docs Overview
42:35 - Server API & Options
60:18 - Client API & Options
64:51 - Chat App Time
71:25 - RT Game - Agar.io Clone

Comment