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

Software as a Service
University of California, Berkeley via Coursera
Intro to Computer Science
University of Virginia via Udacity
Web Development
Udacity
Software Engineering for SaaS
University of California, Berkeley via Coursera
CS50's Introduction to Computer Science
Harvard University via edX