Skip to content
On this page
  1. Install
  2. Register your queues
  3. Endpoint controls
  4. Auth
  5. Next steps

Quick start

Expose your BullMQ queues to the Queuebert app with @queuebert/nest. Use it when your NestJS app already owns BullMQ queues and you want Queuebert to read stats, check queue health, pause and resume queues, clean old jobs or drain waiting ones.

Install#

bash
npm install @queuebert/nest @nestjs/bullmq @nestjs/common @nestjs/core bullmq

Add ioredis too if you pass explicit Redis connection objects or monitor more than one Redis instance.

Register your queues#

Import QueuebertModule next to your BullMQ setup and list the queues it should serve.

app.module.tstypescript
import { BullModule } from '@nestjs/bullmq';
import { Module } from '@nestjs/common';
import { QueuebertModule } from '@queuebert/nest';

import { EmailProcessor } from './email.processor';

@Module({
  imports: [
    BullModule.forRoot({
      connection: { host: 'localhost', port: 6379 },
    }),
    BullModule.registerQueue({ name: 'emails' }),
    QueuebertModule.forRoot({
      path: 'admin/queue',
      queues: [{ name: 'emails', processor: EmailProcessor }],
    }),
  ],
  providers: [EmailProcessor],
})
export class AppModule {}

This serves Queuebert's endpoints under /admin/queue. That full URL is what you add in the app.

Endpoint controls#

Out of the box Queuebert is read-only. Actions that change queue data only exist once you list them in endpoints, and the app only shows the controls your server allows.

EndpointWhat it doesDefault
statsQueue counts and healthAlways on
metricsRead-only processor metricsOn
pause · resumeStop and restart processingOpt in
cleanRemove old jobsOpt in
drainRemove waiting jobsOpt in
migrationsMove jobs between Redis instancesOpt in

Start read-only.

Stats and metrics are enough to see every queue in the app.

Turn on pause, resume, clean and drain one at a time, once your guards are in place.Turn on actions one at a time, once your guards are in place.

Auth#

Queuebert doesn't authenticate requests for you.

Never expose these routes to an untrusted network without your own authentication and authorization, especially pause, resume, clean, drain and migrations.Never expose these routes to an untrusted network without your own authentication and authorization.
typescript
QueuebertModule.forRoot({
  queues: [{ name: 'emails', processor: EmailProcessor }],
  endpoints: ['metrics', 'pause', 'resume'],
  auth: {
    guards: [AdminGuard],
    decorators: [Roles('admin')],
  },
});

Next steps#

That's the setup. Your queues are ready for Queuebert.

Connect the app →

Add your endpoint in Queuebert on iPhone or Android.

Processor stats →

Report durations, throughput and failure rates from your workers.

Up and running?

A star on GitHub helps other teams find queuebert-js.

Star
Queuebert

© 2026 Queuebert