Primate

Web

The Web target serves your SSR app over HTTP. It's the default target and runs on all runtimes (Node, Bun, Deno). primate build creates the server bundle and assets; primate serve runs the built app.

Build output

build/
├── client/          # Frontend assets (hashed)
├── server/          # Server code and routes
└── serve.js         # Production server entry

Serving

npx primate serve
# or
node build/serve.js
Previous
Intro
Next
Native