Skip to content

maximeprades/praisedapp-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

praisedapp-notifications

This is the equivalent of our current WebSockets notifications server, but rewritten using NodeJS and Socks.js. It's main purpose is to allow us to easily deploy it as a separate Heroku instance.

Dependencies

  • NodeJS / NPM
  • Redis

Configuration

The server needs the following environment variables to run:

  • REDISTOGO_URL: e.g. REDISTOGO_URL="redis://localhost:6379"

Run

Make sure to run npm install to get the dependencies.

Start using foreman:

foreman start -f Procfile

Also, Procfile.dev is available to start the server in a development environment (currently it only starts Redis in addition).

Todo

  • Disable console.logs on production: Heroku's logging system is quite slow imho.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published