Skip to main content

Documentation Index

Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Production path

Build one Veryfront route from local project to production verification. Use this guide when you want the shortest complete path through the docs: create a project, choose the right primitive, add one user-visible surface, then prove the same app works in production.

Prerequisites

  • The current Node.js LTS.
  • A terminal that can run the Veryfront CLI.
  • Production credentials for any provider, integration, or deployment target your project uses.

Path overview

StepGoalGuide
1Create and run a local app.Quickstart
2Pick the smallest primitive for the work.Choose a primitive
3Add the user-visible route or API boundary.Pages and routing, API routes
4Add the primitive only when the route needs it.Agents, Tools, Workflows, Tasks
5Build, run, and deploy the production app.Building and deploying

Create the project

Start from a template that matches the product shape you want to test.
veryfront init production-path --template minimal
cd production-path
veryfront dev
Open http://localhost:3000 and keep the dev server running while you add the first route.

Choose the primitive

Before adding an agent, workflow, job, or integration, check the smallest matching primitive:
NeedStart with
Render UI or contentPage
Return HTTP dataAPI route
Let a model use typed capabilityTool
Run a conversational modelAgent
Coordinate multiple stepsWorkflow
Run background or scheduled workTask, job, or cron job
Use Choose a primitive when more than one option looks valid. Add only the primitive that the route needs now.

Add one route boundary

Pick one boundary and make it observable in both dev and production.
BoundaryAddVerify locally
Pageapp/page.tsx or another route under app/Open the route in the browser.
API routeapp/api/<name>/route.tsRun curl http://localhost:3000/api/<name>.
Agent chatPage plus app/api/ag-ui/route.tsSend one message and confirm streamed output.
Workflow or task triggerAPI route or CLI commandTrigger one run and inspect the result.
Keep the first production path narrow. Once this path is proven, add more pages, agents, integrations, or jobs behind the same verification loop.

Build and run production locally

Stop the dev server, then run the production build locally:
veryfront build
veryfront start
Open http://localhost:3000 again and test the same route or API endpoint you tested in dev.

Deploy

Deploy after the local production server matches the dev behavior:
veryfront deploy
For a non-Cloud target, use the build output from veryfront build and follow the target host’s runtime requirements.

Verify it worked

Use the same checks at each stage:
StageCheck
Devveryfront dev prints a local URL and the route responds.
Local productionveryfront build exits successfully and veryfront start serves the same route.
Deployed productionveryfront deploy completes, then veryfront open opens the deployed route.
For API routes, compare the dev and production responses with curl. For pages, open the same path in both environments. Use veryfront open --json when you need the deployed URL for scripts or a terminal-only check. For agents, workflows, tasks, jobs, or integrations, trigger one minimal run and confirm the expected output or status.

Next