Menu

Bring your own backend for Vercel Board
📰

Bring your own backend for Vercel Board

Vercel News·Nicolás Montone·4 days ago
#VrrZgBvi
#vercel#board#postgres#scheduler#backend
Long article (364 words) — no AI summary yet.
Reading 0:00
15s threshold

The Vercel Board SDK and the vercel board command can now plug into a backend you bring. A board on your own backend serves the same API as your team's board in Vercel's API. Postgres is the first backend that ships with the SDK.

Mount the board on an API route with postgres() . It requires a blob store for files. vercelBlob() keeps files in a private Vercel Blob store, up to 100 MB each. vercelQueues() runs the board's timers, like scheduled messages, on Vercel Queues.

app/api/board/[[...path]]/route.ts

import { board } from "@vercel/board" ;

import { postgres } from "@vercel/board/backend-postgres" ;

import { vercelBlob } from "@vercel/board/backend-postgres/blob-vercel" ;

import { vercelQueues } from "@vercel/board/backend-postgres/scheduler-vercel" ;

export const scheduler = vercelQueues ( { topic : "board" } ) ;

export const team = board ( { backend : postgres ( { blob : vercelBlob ( ) , scheduler } ) } ) ;

export const GET = team . fetch , POST = team .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.