Node is one of the best programming languages out there to build real-time applications due to its event-driven and asynchronous nature, messaging and notification delivery are two of the most common use cases for real-time.
WebSocket provides the solution we need. WebSocket is a communication protocol that allows both the client and server to initiate communication.
- ws - A simple to use, blazing fast, and thoroughly tested WebSocket client and server implementation in Node, does not work in the browser.
- Feathers - A lightweight web-framework for creating real-time applications and REST APIs.