Skip to content
Back to Templates

CF Pages Functions + KV + Auth

Cloudflare Pages with Functions (edge API), KV-backed sessions, auth middleware, and static frontend — one repo, full stack on edge.

Full-stackDifficulty: AdvancedLast updated: 2026-08-221340

Stack

cloudflare-pagestypescriptkv

Category: Full-stack · Difficulty: Advanced

Features

  • ✓Pages Functions
  • ✓KV sessions
  • ✓Auth middleware
  • ✓Edge
  • ✓Static + API

Repository

Clone command

npx degit honojs/starter/templates/cloudflare-pages my-app