Why Boobo?
Ctrl /
About me
cd/abstract/devops/research/resources/startup/tools/tutorials
$/research

Private chat with Socket.io, Redis on Node.js

published2021-02-22·1 min read·chatsocketjs

Socket.io has a really good example how to implement a simple chat with private rooms (1:1)

  1. https://socket.io/get-started/private-messaging-part-1/
  2. https://socket.io/get-started/private-messaging-part-2/
  3. https://socket.io/get-started/private-messaging-part-3/
  4. https://socket.io/get-started/private-messaging-part-4/

Github repo https://github.com/socketio/socket.io/tree/master/examples/private-messaging

Share this post:XLinkedInFacebook
Bogdan Alexandru Militaru

Would you like to chat about this article or something else? Write me on Twitter

$related posts

2025-04-13/tools

Validating CIF for Romanian Company in JS

Validate CIF for Romanian companies in JS. Easily verify company information with our user-friendly tool. Ensure accuracy and reliability.

2022-04-12/tutorials

Download files in Javascript from Node.js server

How to download files in Javascript, either you use Vue.js, React, Angular, jQuery, or Vanilla JS. On the backend side, we run on Node.js using Express.js.

2021-11-29/resources

Generate random hex colors in JS with a library

How to generate random hex colors in Javascript? I've created a very simple library to solve this problem

2021-10-28/tutorials

Unserialize php in Javascript Nodejs

Unserialize is an opinionated function from PHP. Here you'll learn how to handle this in Nodejs, even if you use a serialized string with special characters.

Powered by Website Development Services - Cmevo Digital.