@kazion/create-app
Version:
A cli tool to help you get started with graphql and rest api's with typescript
15 lines (11 loc) • 418 B
text/typescript
import { notificationQueue } from './queue'
import { FastifyAdapter } from '@bull-board/fastify'
import { createBullBoard } from '@bull-board/api';
import { BullMQAdapter } from '@bull-board/api/bullMQAdapter';
const queueBoardPath = '/ui';
const serverAdapter = new FastifyAdapter();
createBullBoard({
queues: [new BullMQAdapter(notificationQueue)],
serverAdapter,
});
export { serverAdapter, queueBoardPath }