jack-auth-redis
v1.0.2
Published
Jack-Stack Plugin for connect-redis redisStores
Downloads
4
Maintainers
Readme
jack-auth-redis
This Jack-Stack Plugin Configures express-session to use a redisstore instead of the memory store.
If not configured, it fails to do so and console.warn
s you.
Configuration
You can either use node-config
and set your variables with:
{
db: {
redis: {
host: 'url',
port: 6379
}
}
}
Or you can configure this plugin directly:
jack.add(require('jack-auth-redis').configure(
host: 'url',
port: 6379
}));