clout-redis-session

0.0.3 • Public • Published

clout-redis-session

Install

In the directory of your clout-js application, do the following;

  1. Install this package
npm install clout-redis-session
  1. Add this module to package.json
{
    ...
    "modules": ["clout-redis-session"]
    ...
}

Configure

Create a new file redis.default.js or redis.<YOUR_ENV>.js in /conf directory with the following JavaScript.

module.exports = {
    session: {
        redis: {
            host: '<REDIS_HOST>',
            port: '<REDIS_PORT>',
            prefix: 'sess'
        }
    }
};

Package Sidebar

Install

npm i clout-redis-session

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

3.05 kB

Total Files

5

Last publish

Collaborators

  • muhammaddadu