YoVDO

WebSocket Communications with Node and Angular

Offered By: LinkedIn Learning

Tags

Angular Courses Web Development Courses Node.Js Courses Typescript Courses

Course Description

Overview

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

Related Courses

MongoDB for Node.js Developers
MongoDB University
Introduction to Office 365 Development and APIs
Microsoft via edX
Server-side Development with NodeJS
The Hong Kong University of Science and Technology via Coursera
Front-End Web UI Frameworks and Tools
The Hong Kong University of Science and Technology via Coursera
Introduction to MongoDB using the MEAN Stack
MongoDB via edX