Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

WebSocket Communications with Node and Angular

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to use WebSocket by building a chat up from scratch.

Syllabus

Introduction
  • What are WebSockets?
  • Preview the chat app we will build together
  • What you should know
1. Environment: TypeScript, Node, and Angular
  • How to clone the code at any stage
  • Create shared datatypes library
  • Create the Node.js service
  • Create the client Angular application
  • Review the project structure
  • Add the WebSocket server to Node.js
2. Stand Up a WebSocket Service
  • Receive your first WebSocket connection
  • Manage multiple connected users
  • Standardize WebSocket message shape
  • Broadcast new chat message to all
  • Challenge: Notify all when a new user connects
  • Solution: Notify all when a user connects
3. Build the UI with Angular
  • A quick look at Angular
  • Set up the chat component
  • Prototype the chat UI
  • Add the connection UI
4. Turn On WebSockets in the UI
  • Simulate authentication on new connections
  • Connect the web app to the socket
  • Start chatting
  • Challenge: Show notification when user enters or leaves
  • Solution: Show notification when user enters or leaves
  • Challenge: Show list of connected users
  • Solution: Show list of connected users
Conclusion
  • Next steps

Taught by

Patrick Siewe

Reviews

4.7 rating at LinkedIn Learning based on 47 ratings

Start your review of WebSocket Communications with Node and Angular

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.