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 Repodbos-inc/dbos-vercel-integration
LicenseView License
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

Image Gallery Starter

An image gallery built on Next.js and Cloudinary.
Image Gallery Starter thumbnail

Chatbot

A full-featured, hackable Next.js AI chatbot built by Vercel
Chatbot thumbnail
DeployView Demo