Chapter 7.  Building a Real–Time Chat Application with Socket.io

Some time ago, when Node.js applications emerged, we had a boom of new possibilities, using the Node.js resources and things such as  Socket.io to build real-time applications (as the site says, Socket.io enables event-based bi-directional real-time communication. It works on every platform, device, or browser, focusing equally on reliability and speed).

Socket.io allows us to emit events between the client and server, and other possibilities.

In this chapter, we will cover the following topics:

  • Installing Socket.io
  • The fundamentals of Socket.io events
  • Creating an Express chat application
  • Dealing with jQuery on the client side
  • How to use Gulp.js and the LiveReload plugin on development ...

Get Node.js 6.x Blueprints 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.