- Added new WEBPACK env var which is enabled during yarn build scripts
- Defered redis starting until listen is called
- Moved pubsub to a factory pattern init
- Async/Await'ed the routes
- Moved pubsub handle for routes into middleware
- Adjusted redis cache and job processors to have lazy connection
starting
- Disabled mongo from auto-connecting on require
- Adjusted package redis clients to act as factory singletons instead
- Updates to before + beforeEach for mongooose
- Removed reference to dotenv from cli in e2e, should use
NODE_ENV=test instead.
- Changed test port from 30?? to 3000 to be consistent with what
nightwatch was expecting