Lesson 8: Adding Real-time Functionality Using Socket.io

In previous Lessons, you learned how to build your MEAN application and how to create CRUD modules. These Lessons covered the basic functionalities of a web application; however, more and more applications require real-time communication between the server and browser. In this Lesson, you'll learn how to connect your Express and AngularJS applications in real time using the Socket.io module. Socket.io enables Node.js developers to support real-time communication using WebSockets in modern browsers and legacy fallback protocols in older browsers. In this Lesson, we'll cover the following topics:

  • Setting up the Socket.io module
  • Configuring the Express application
  • Setting up the Socket.io/Passport ...

Get AngularJS: Maintaining Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.