Learn how to create a websocket server for real-time text chat app. This video is an introduction to @nestJs/websockets package. Watching this video, you will learn what are the websocket gateways, how to handle incoming messages and how to use nestjs pipes to validate the websocket message.
Starting code: https://github.com/piotrmol/nestjs-we...
Final code: https://github.com/piotrmol/nestjs-we...
00:00 Introduction
00:27 Serving static files in nestJs
01:55 Introduction to @nestjs/websockets package
04:32 Testing websockets in postman app
05:53 Validating websocket messages
08:43 broadcasting websocket message
🎓 Enhance your learning journey! Visit my second channel, for valuable tips & tricks on mastering academics: / @piotrteaches 👨🎓👩🎓