Build
npm run buildGenerate production-ready static files with your framework.
Build your single-page app, upload the production bundle, and publish it on a managed HTTPS subdomain in under a minute.
Three explicit steps. No server provisioning, DNS configuration, or certificate setup.
npm run buildGenerate production-ready static files with your framework.
dist.zipPackage the contents so index.html sits at the archive root.
HTTPS · LiveUpload from the dashboard and publish to your dedicated subdomain.
Deploy a production SPA bundle built with Vite or another client-side build tool. Every application route falls back to index.html so browser routing keeps working.
React SPAs built with Vite
Vue SPAs built with Vite
Client-rendered Svelte applications
Fast production bundles for modern SPAs
Every deployment receives a secure pocketbasecloud.com subdomain.
Deep links resolve to index.html for React Router and Vue Router apps.
Connect directly to your PocketBase API over HTTPS from the browser.
Your site sits behind Cloudflare’s anycast network, so visitors are answered from a nearby city rather than from one machine.
Volumetric attacks are soaked up at the edge before they reach your instance, and the mitigation is unmetered.
No per-GB transfer charge and no request meter — a busy month changes your traffic graph, not your invoice.
The portal upload has a one-command equivalent. One deploy runs your build, zips the output, uploads it, and waits for the site to come up.
pbc frontend lsevery site and its statuspbc frontend deploy --env stagingship the staging copypbc environmentswhat this directory targetspbc frontend domain addattach your own domainThe first deploy records the site in pbc.json, so every deploy afterwards is just pbc frontend deploy — no flags.
Read the frontend docsBuild locally, upload once, and let PocketBase Cloud handle hosting, HTTPS, and routing.