Cloud//Cloudflare//Pages

Cloudflare's platform for deploying websites. Serves both frontend and backend from the same domain.


Cloudflare's platform for deploying websites. Serves both frontend and backend from the same domain.

Frontend: static files from dist/ (HTML, CSS, JS) -- the output of Vite build or any bundler

Backend: serverless functions in the functions/ directory, running on Workers under the hood. This is where the API framework (Hono) lives.

Deploy via CLI (wrangler pages deploy dist) or connect a GitHub/GitLab repo for auto-deploy on push (CI/CD)

Free custom domains, automatic HTTPS, preview deployments per branch

The functions/ directory turns a static site into a full-stack app -- frontend + API in one deployment