Web sites and web apps
Last updated Apr 24, 2026 Build and deploy full-stack web applications globally with serverless compute, storage, and instant deployments. Cloudflare Workers runs your frontend and backend logic at the edge. D1 provides a serverless SQL database. KV stores key-value data globally. R2 provides S3-compatible object storage with zero egress fees. Durable Objects coordinates real-time state. Queues handles background processing.
- Deploy frontend applications
- Build serverless backends
- Store application data
- Add real-time features
- Optimize performance
- Secure your application
Architecture patterns
Full-stack application
Build a complete application with frontend and backend:
- Workers serves your frontend assets (React, Vue, Astro, and similar frameworks) and handles Application Programming Interface (API) routes
- D1 stores application data
- R2 stores user uploads and assets
Real-time collaborative app
Build multiplayer or collaborative features:
- Durable Objects coordinates state and WebSocket connections
- Workers handles HTTP requests and routing
- KV caches frequently accessed data
- Queues processes background tasks
Static site with dynamic features
Add interactivity to static content:
- Workers serves static HTML/CSS/JavaScript (JS) and handles form submissions and API calls
- KV stores form data and user preferences
- R2 stores uploaded files
Prerequisites
Create a new application
- A Cloudflare account ↗︎.
- Node.js ↗︎ (version 16.17.0 or later) installed on your machine.
- Wrangler installed. Wrangler is the CLI for creating, testing, and deploying Workers projects.
Use an existing application
- A Cloudflare account ↗︎.
- A domain added to Cloudflare with DNS records proxied through Cloudflare. This is required for security features (SSL/TLS, Application security), caching, and performance optimizations.
- Node.js ↗︎ (version 16.17.0 or later) and Wrangler if you plan to add Workers-based functionality to your existing application.
Related resources
Workers documentation
Complete documentation for building and deploying applications on Cloudflare.
Developer platform tutorials
Step-by-step guides for building on Cloudflare.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/use-cases/web-apps/#page","headline":"Web sites and web apps","description":"Build and deploy full-stack web applications on Cloudflare with Workers, D1, KV, R2, Durable Objects, and Queues.","url":"https://developers.cloudflare.com/use-cases/web-apps/","inLanguage":"en","image":"https://developers.cloudflare.com/use-cases/web-apps/og.png?v=9303d729d376b1bd","dateModified":"2026-04-24","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Deploy React, Vue, Astro, and other frontend frameworks globally with Git-triggered builds and preview URLs. title: Deploy frontend applications image: https://developers.cloudflare.com/use-cases/web-apps/deploy-frontend/og.png?v=8e5b3d1b10b6f194
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/use-cases/llms.txt
Use this file to discover all available pages before exploring further.
Docs