Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

335
Views
Integración de NestJS Fastify Bull Board

Estoy tratando de integrar Bull Board en el servicio NestJS + Fastify.

bull-board.middleware.ts

 import { Injectable, NestMiddleware } from '@nestjs/common'; import { router as bullBoardMiddleware } from 'bull-board'; @Injectable() export class BullBoardMiddleware implements NestMiddleware { use(req: any, res: any, next: () => void) { bullBoardMiddleware(req, res, next); } }

app.module.ts

 import { BullBoardMiddleware } from './middlewares/bull-board.middleware'; [...] export class AppModule implements NestModule { configure(consumer: MiddlewareConsumer) { consumer .apply(BullBoardMiddleware) .forRoutes('admin/queues'); } }

Bull Board se basa en la aplicación Express que tiene una interfaz de solicitud diferente. Se puede acceder al panel, pero falla la entrega de archivos estáticos. Navegador+Captura de pantalla de la consola

Lo intenté:

  • aplicar el adaptador fistify-express => causa errores con NestJS
  • proporcionando basePath | proxyPath: 'admin/queues' en req pasado a bullBoardMiddleware

¿Alguien puede aconsejarme cómo hacer que funcione?

¡Gracias de antemano!

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!