Frameworks
Elysia
Mount Workbench in an Elysia app with @getworkbench/elysia on Bun.
Install
Shell
bun add @getworkbench/elysia bullmq elysiaRequires Bun 1.1+.
Mount
TypeScript
import { Elysia } from "elysia";
import { Queue } from "bullmq";
import { workbench } from "@getworkbench/elysia";
const emailQueue = new Queue("email", {
connection: { url: process.env.REDIS_URL! },
});
new Elysia()
.mount("/jobs", workbench({ queues: [emailQueue], basePath: "/jobs" }))
.listen(3000);basePath required — pass
basePath: "/jobs"matching your mount path.
Resources
- npm: @getworkbench/elysia
- Example: examples/with-elysia
- Blog: BullMQ dashboard for Elysia