Websocket broadcaster based on Redis
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 .
SECRET=secret node test
Depoly the project as DigitalOcean App
- Set up a Redis database in DigitalOcean
- Add Redis database as app component
- Add more app instances as needed