Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.
/ express-bull Public archive

Express 4 router containing an API for bull job queue, based heavily on Matador

License

Notifications You must be signed in to change notification settings

kfatehi/express-bull

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-bull

Express 4 router containing an API for bull job queue, based heavily on Matador. It uses less libraries and uses bluebird instead of Q as the promise library.

Designed for consumption by react-bull

Usage

npm install --save express-bull

var redis = require('redis');
var express = require('express');
var expressBull = require('express-bull');

var app = express();

app.use('/jobs', expressBull({
  router: express.Router(),
  redisClient: redis.createClient()
}))

require('http').Server(app).listen(1337)
$ curl http://localhost:1337/jobs/active
{"keys":[],"counts":{"active":0,"complete":0,"failed":0,"pending":0,"total":0,"stuck":0}}

About

Express 4 router containing an API for bull job queue, based heavily on Matador

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •