DEV Community

Cover image for Edge-Native Next.js Starter Template for Cloudflare Infrastructure
jQueryScript
jQueryScript

Posted on

Edge-Native Next.js Starter Template for Cloudflare Infrastructure

Next.js + Cloudflare Full-Stack Starter: Skip the setup and start building edge-native applications with this production-ready template.

What you get:

โšก Next.js 15 with Cloudflare Pages deployment
๐Ÿ—„๏ธ D1 database with Prisma ORM and automated migrations
๐Ÿ“ฆ R2 object storage for file handling
๐Ÿš€ KV cache layer for sessions and rate limiting
๐Ÿงช Vitest test coverage for repositories and clients
๐Ÿ”„ GitHub Actions CI/CD pipelines for test and production
๐Ÿ”’ Environment validation with Zod schemas
๐Ÿ“Š Built-in request tracing and structured logging

The repository pattern keeps data access clean, and the automated deployment workflow handles everything from testing to production releases.

The repository includes working examples for user CRUD, file uploads, and cache operations.

๐Ÿ‘‰ Blog Post

๐Ÿ‘‰ GitHub Repo

๐Ÿ‘‰ Live Demo

Top comments (0)