This starter is a template for a Next.js project that uses Workflow DevKit. It follows the Workflow DevKit: Next.js Getting Started Guide.
-
Clone this example and install dependencies:
git clone https://github.com/vercel/workflow-examples cd workflow-examples/nextjs pnpm install -
Start the development server:
pnpm dev
-
Invoke the workflow by
curl:curl -X POST --json '{"email":"hello@example.com"}' http://localhost:3000/api/signup