/single-user-websocket

Primary LanguageJavaScriptMIT LicenseMIT

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