Skip to content

Websockets broadcaster with optional Redis support

Notifications You must be signed in to change notification settings

elektronstudio/ws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Websocket broadcaster based on Redis

Local development

See installation instructions: https://gist.github.com/tomysmile/1b8a321e7c58499ef9f9441b2faa0aa8

brew install redis
brew services start redis

Then

npm i
DATABASE_URL=redis://localhost:6379 SECRET=secret node .

Testing

SECRET=secret node test

Deploying

Depoly the project as DigitalOcean App

Scaling

  1. Set up a Redis database in DigitalOcean
  2. Add Redis database as app component
  3. Add more app instances as needed

About

Websockets broadcaster with optional Redis support

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published