Skip to content
New Project

Vercel + DBOS Integration

Run durable background workflows from your Vercel app.

DeployView Demo

This is a reference showing how to run durable background tasks on Vercel using DBOS. To learn more, check out the integration guide.

How it Works

This app contains a Next.js frontend and a serverless Vercel Functions "backend" that runs durable background workflows.

The Next.js frontend uses a DBOS Client (backed by Postgres) to enqueue workflows and display workflow status.

Periodically, a worker running in a Vercel Function checks if there are any enqueued workflows and executes them. This worker is triggered automatically by a Vercel cron, but can also be triggered through a button in the app.

Note that the cron schedule is set to once a day because of free tier limitations, but on non-free plans you can set it to run as often as you want (We'd recommend once a minute).

How to Run

Deploy the app and its Supabase integration in one click:

GitHub
Ownerdbos-inc
Repositorydbos-vercel-integration
Use Cases
Starter
Cron
Stack
Next.js
Tailwind

Related Templates

Next.js Boilerplate

Get started with Next.js and React in seconds.
Next.js Boilerplate thumbnail

eve Chat Template

A persisted Next.js chat template for eve, built with shadcn/ui, Tailwind CSS, Streamdown, Better Auth, Drizzle, and Neon.
eve Chat Template thumbnail

Image Gallery Starter

An image gallery built on Next.js and Vercel Blob.
Image Gallery Starter thumbnail
DeployView Demo