blog-single-user-websocket
blog-single-user-websocket copied to clipboard
Enforcing a single web socket connection per user with Node.js, Socket.IO, and Redis. Sample repository for my article on Medium.
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