Skip to content
Frontend Hosting

Deploy your frontend. Skip the server setup.

Build your single-page app, upload the production bundle, and publish it on a managed HTTPS subdomain in under a minute.

Included on every plan
app.pocketbasecloud.com
my-storefrontStatic site deployment
Running
Buildnpm run build
Uploaddist.zip
LiveHTTPS enabled
Deployment completehttps://my-storefront.pocketbasecloud.com
Static outputSPA fallbackHTTPS
How it works

From your machine to a live deployment

Three explicit steps. No server provisioning, DNS configuration, or certificate setup.

01

Build

npm run build

Generate production-ready static files with your framework.

02

ZIP

dist.zip

Package the contents so index.html sits at the archive root.

03

Deploy

HTTPS · Live

Upload from the dashboard and publish to your dedicated subdomain.

SPA framework support

Your single-page app runs here

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

React SPAs built with Vite

Vue

Vue SPAs built with Vite

Svelte

Client-rendered Svelte applications

Vite

Fast production bundles for modern SPAs

Managed HTTPS

Every deployment receives a secure pocketbasecloud.com subdomain.

SPA routing

Deep links resolve to index.html for React Router and Vue Router apps.

Built for PocketBase

Connect directly to your PocketBase API over HTTPS from the browser.

CLI

Or ship it without leaving the terminal

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.

web — zsh
# once, on your machine
npm i -g @pocketbasecloud/cli
pb cloud login
# from your project directory
pb cloud frontend deploy --name web
  building npm run build
  packaging dist/ · 1.2 MB
  uploading waiting for HTTPS
✓ live at https://web.pocketbasecloud.com

The same tool, every day after

  • pb cloud frontend lsevery site and its status
  • pb cloud frontend deploy --env stagingship the staging copy
  • pb cloud environmentswhat this directory targets
  • pb cloud frontend domain addattach your own domain

The first deploy records the site in pb.json, so every deploy afterwards is just pb cloud frontend deploy — no flags.

Read the frontend docs
Frontend Hosting

Your frontend can be live in under a minute

Build locally, upload once, and let PocketBase Cloud handle hosting, HTTPS, and routing.