Hydrugion / single-user-websocket

Sample repository for my article on Medium

Home Page:https://hackernoon.com/enforcing-a-single-web-socket-connection-per-user-with-node-js-socket-io-and-redis-65f9eb57f66a

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enforcing a single web socket connection per user with Node.js, Socket.IO, and Redis

This is a sample repository to demonstrate authentication with Socket.IO and resource locks with Redis.

Usage

npm install
npm run start:server
npm run start:web

About

Sample repository for my article on Medium

https://hackernoon.com/enforcing-a-single-web-socket-connection-per-user-with-node-js-socket-io-and-redis-65f9eb57f66a

License:MIT License


Languages

Language:JavaScript 81.0%Language:HTML 19.0%