adonis-kue-provider
v0.2.0
Published
Kue provider for the Adonis framework
Downloads
7
Readme
Adonis Kue Provider
A Kue provider for the Adonis framework.
Install
npm install --save adonis-kue-provider
Configure
Register it in bootstrap/app.js
:
const providers = [
'adonis-kue-provider/providers/KueProvider'
]
Also consider adding an alias to validation provider.
const aliases = {
Kue: 'Adonis/Addons/Kue'
}
Add a configuration file in config/kue.js
. For example:
'use strict';
const Env = use('Env');
module.exports = {
prefix: 'q',
redis: Env.get('REDIS_URL')
};
See the Kue Documentation for more connection options.
Thanks
Special thanks to the creator(s) of AdonisJS for creating such a great framework.