Skip to content

Releases: ifindev/fullstack-next-cloudflare

v1.3.0

15 Oct 04:13
a44687a

Choose a tag to compare

What's Changed

Documentation Improvements

  • docs: complete README restructure and improved setup flow - Added Table of Contents, consolidated duplicate instructions, and streamlined the Quick Start process
  • docs: fix R2 URL configuration with correct dashboard navigation - Updated R2 public URL setup with step-by-step instructions and proper development vs production URL guidance
  • docs: add comprehensive troubleshooting section and FAQ - Added common issues, debugging help, and answers to frequently asked questions
  • docs: consolidate script tables and remove redundant information - Merged multiple script reference tables into one comprehensive table and eliminated duplicate binding configuration instructions

Code Improvements

  • refactor: remove duplicate auth module and centralize authentication logic by @spike014 in #6
  • refactor: improve local D1 database auto-discovery in drizzle config by @andy00614 in #9

New Contributors

Full Changelog: v1.2.0...v1.3.0

v1.2.0

26 Sep 03:13

Choose a tag to compare

What's Changed

  • Add integration with Cloudflare AI Workers for AI Inference with generous free tier
  • Implement a simple /summarize endpoint to demonstrate how to use Cloudflare AI Workers for AI inference

Full Changelog: v1.1.0...v1.2.0

v1.1.0

15 Sep 10:07

Choose a tag to compare

Server Actions, Schema Restructure & Better Docs

Server Actions Implementation

  • Complete Server Actions architecture for all data mutations
  • Direct database queries in Server Actions (no API route overhead)
  • Automatic revalidation after mutations for optimal UX
  • Enhanced type safety from database to UI components
  • API routes removed - template now uses modern React patterns exclusively

Database Improvements

  • Restructured database schemas with better organization and performance
  • Enhanced migration system with rollback support
  • Optimized indexes and standardized naming conventions
  • Added seed data scripts for easier development setup

Documentation Rewrite

  • Complete README overhaul with step-by-step setup instructions
  • Added comprehensive manual setup guide with Server Actions examples
  • Detailed tech stack explanations and development workflows
  • GitHub Actions configuration with secret management instructions

Developer Experience

  • Simplified API token creation using Cloudflare's "Edit Workers" template
  • Better Auth integration guide with Google OAuth setup
  • Enhanced script documentation with proper usage order
  • Improved local development workflow with dual terminal setup

Server Actions Benefits

  • Better Performance - Direct database access, no HTTP round-trips
  • Simplified Code - No need for API route boilerplate
  • Modern React - Leverages React 19 and Next.js 15 features
  • Type Safety - End-to-end TypeScript without serialization gaps

Getting Started

git clone https://github.com/ifindev/fullstack-next-cloudflare.git
cd fullstack-next-cloudflare
pnpm install
pnpm run cf-typegen
pnpm run db:migrate:local

Full Changelog: v1.0.0...v1.1.0

v1.0.0 - Initial Release

15 Sep 05:10

Choose a tag to compare

🚀 Fullstack Next.js + Cloudflare Template v1.0.0

A production-ready template for building fullstack applications with Next.js 15 and Cloudflare's ecosystem.

✨ Features

  • Next.js 15 with App Router and React 19
  • Cloudflare Workers deployment with OpenNext
  • Cloudflare D1 database with Drizzle ORM
  • Cloudflare R2 object storage
  • Better Auth authentication with Google OAuth
  • TailwindCSS 4 for styling
  • TypeScript throughout
  • GitHub Actions CI/CD pipeline
  • Database migrations and tooling
  • Development tools (Biome, Drizzle Studio)

🏗️ Tech Stack

Frontend

  • Next.js 15 (App Router)
  • React 19
  • TailwindCSS 4
  • TypeScript
  • Radix UI components
  • React Hook Form with Zod validation

Backend & Infrastructure

  • Cloudflare Workers (Edge runtime)
  • Cloudflare D1 (SQLite database)
  • Cloudflare R2 (Object storage)
  • Better Auth (Authentication)
  • Drizzle ORM (Database toolkit)

DevOps

  • GitHub Actions (CI/CD)
  • Wrangler (Cloudflare CLI)
  • Preview deployments
  • Database migrations
  • Automated backups

🚀 Quick Start

# Clone the repository
git clone https://github.com/ifindev/fullstack-next-cloudflare.git
cd fullstack-next-cloudflare

# Install dependencies
pnpm install

# Set up environment variables
cp .dev.vars.example .dev.vars
# Edit .env.local with your credentials

# Run database migrations
pnpm run db:migrate:local

# Start development server
pnpm run dev:cf

📋 Prerequisites

  • Node.js 20+
  • pnpm
  • Cloudflare account
  • Google OAuth credentials (for auth)

🔧 Configuration

  1. Cloudflare Setup:

    • Create D1 database
    • Create R2 bucket
    • Update wrangler.jsonc with your IDs
  2. Authentication:

    • Set up Google OAuth app
    • Add credentials to secrets
  3. Deployment:

    • Configure GitHub secrets
    • Push to main branch

🤝 Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

📝 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.


Full Changelog: https://github.com/ifindev/fullstack-next-cloudflare/commits/v1.0.0