Back to Rivet

Vercel Workflows (Beta)

examples/vercel-workflow/README.md

2.3.71.2 KB
Original Source

Vercel Workflows (Beta)

A minimal Vercel Workflows app backed by Rivet Actors.

This integration is in beta.

Prerequisites

  • Node.js 22 or newer
  • pnpm

Getting Started

sh
cp .env.example .env
pnpm build
pnpm dev

Start an order with curl -X POST http://localhost:3000/orders/42. The first World operation lazily starts Rivet in the same process and waits until it is ready; there is no separate Rivet server command.

Run pnpm test for Vercel's official @workflow/vitest integration test. The World package itself runs Vercel's @workflow/world-testing suite against an owned Rivet engine.

Features

  • Vercel World backed by Rivet Actors
  • Durable steps and waits
  • Vercel's supported Vitest workflow harness

Implementation

Resources

License

MIT