Kue-Dashboard-Express
Introduction
Easy way to mount Kue-Dashboard for Express apps.
Installation
$ npm install kue-dashboard-express
Setup
Mount with Express and Kue
var kue = require('kue');
var express = require('express');
var kueDashboardExpress = require('kue-dashboard-express');
var app = express();
kue.createQueue();
kueDashboardExpress(app, '/dashboard', '/kue-api');
app.use('/kue-api/', kue.app);
app.listen(3000);
Configuration
The example above mounts the Kue-Dashboard Vuejs application on the express app at the location /dashboard
and tells the application to point at /kue-api/
to access the Kue JSON API.
kueDashboardExpress(app, '/interface', 'https://otherdomain.com/kue-api');
Development
This repo is just a wrapper for wrapping Kue-Dashboard in an Express app. Most develpment will be done on the main Kue-Dashboard repo.
License
kue-dashboard-express
is released under the MIT license. See LICENSE.txt for the complete text.