adonis-kue-provider

0.2.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i adonis-kue-provider

Weekly Downloads

1

Version

0.2.0

License

MIT

Last publish

Collaborators

  • nbrempel