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)