Cloudflare

Cloudflare Pages Goes Full Stack

Nov 17, 2021Nevi Shah, Glen Maddern, Cina Saffary
Cloudflare Pages Goes Full Stack
SummaryAI, from the source post

This post announces the integration of Cloudflare Workers with Cloudflare Pages, enabling full-stack application deployment. Developers can now define serverless functions within a `./functions` directory in their Pages project. Pages automatically deploys these functions as Workers during the build process. The post details the file system convention for routing, the use of bindings (KV, Durable Objects, Environment Variables, Secrets), preview deployments for functions, local development with `wrangler` and Miniflare, and integration examples with SvelteKit and server-side rendering.

More from the Edge Computing with Cloudflare Workers trail