kue-admin-panel
An admin panel of Kue based on WebSocket.
Installation
npm install kue-admin-panel
Screenshots
Example
more details...
const express = require('express');
const http = require('http');
const kue = require('kue');
const KueAdminPanel = require('kue-admin-panel');
const app = express();
const server = http.createServer(app);
const queue = kue.createQueue({
redis: {
host: 'localhost',
port: 6379,
auth: '',
db: 1
}
});
app.use('/kue', new KueAdminPanel({
basePath: '/kue',
verifyClient: (info, callback) => {
callback(true);
},
queue: queue,
server: server
}));
server.listen(8000, 'localhost', () => {
const {address, port} = server.address();
console.log(`Server listening at http://${address}:${port}`);
});