Line I
Integrations
Hands-on guides that connect front-end, back-end (Workers) and databases — full CRUD, auth, file uploads, architecture blueprints and request-flow diagrams.
Knowing each product is step one; the real magic is connecting them. These guides show how a web page talks to a Worker, how a Worker reads and writes a database, and how to assemble whole systems — each packed with mermaid diagrams.
Full-stack Basics 7
How front-end, back-end and DB connectThe big-picture mental model of a full-stack app on Cloudflare — and how a single request travels through every layerLearnFront-end ↔ Worker ↔ D1: full CRUDWire a web page to a Worker API backed by a SQL databaseLearnDesigning a REST API with WorkersBuild a clean HTTP back-end on a single Worker: route by method and path, parse requests, return JSON with the right status codes, and open it up to a browser front-end with CORS.LearnHTML form → Worker → databaseThe classic flow: submit a form, save it, show it back — with real server-side validationLearnAuthentication across front-end and back-endTwo ways to wire login on Cloudflare: Zero Trust Access, or your own sessions in KVLearnFile uploads: front-end → Worker → R2Let users upload images and docs from a web page, store them in R2, serve them back, and keep the metadata in D1.LearnDeploy a full-stack app with Pages + FunctionsHost your front-end and run your back-end API in one Cloudflare Pages projectLearn
Data & Storage 6
Which storage should I use? KV vs D1 vs R2 vs DO vs HyperdriveA decision guide that matches the shape of your data to the right Cloudflare storageLearnDesigning a D1 schema (tables & migrations)Model users and posts in SQLite, then evolve the schema safely with migrationsLearnRelationships & JOINs in D1Model one-to-many and many-to-many data in D1, then query it with JOINs and batch transactionsLearnAdd a KV cache in front of your databasePut a fast key-value cache before D1 to cut latency and cost on read-heavy dataLearnStrongly-consistent state with Durable ObjectsMake one Durable Object the single source of truth for a counter, lock, or live roomLearnConnect a Worker to existing Postgres via HyperdrivePool and cache queries to your regional Postgres so Workers stay fastLearn
Architecture Blueprints 7
Blueprint: a blog / CMSA reference architecture for a blog or CMS built entirely on CloudflareLearnBlueprint: an online storeA reference architecture for e-commerce on Cloudflare: storefront, API, database, cart, images and a payment provider.LearnBlueprint: a multi-tenant SaaSA reference architecture for serving many customers from one app, with each customer's data safely isolatedLearnBlueprint: an AI Q&A app (RAG)A reference architecture for Retrieval-Augmented Generation (RAG) on CloudflareLearnBlueprint: a real-time chat roomA reference architecture for live chat: WebSockets + Durable Objects + D1LearnBlueprint: an image upload & processing pipelineAccept uploads instantly, then optimize images in the background with R2, Queues, Images and D1LearnBlueprint: a URL shortener (your first full-stack app)A form, a Worker, and KV — build a tiny link shortener end to endLearn
Flows & Lifecycles 4
The life of a request on CloudflareFollow one HTTP request from the browser through DNS, the edge, WAF, cache, a Worker, storage, and all the way backLearnAuth flows, diagrammedSee how four common login and authorization flows actually work, drawn step by step as sequence diagrams.LearnHow caching works (hit, miss, revalidate)Follow one request through Cloudflare's cache — hit, miss, store, expire, and revalidateLearnEvent-driven apps with QueuesAccept a request, reply in milliseconds, and let a queue do the slow work later — with batching, retries, dead-letter queues and idempotency.Learn