app like that
Cloudflare Workers/Next.js SaaS Template
Cloudflare Workers/Next.js SaaS Template

Cloudflare Workers/Next.js SaaS Template is a project using the OpenNext framework to build a SaaS application with robust features such as authentication, database operations, email services, modern UI, and edge computing capabilities.

Features

Authentication with Lucia Auth

Provides secure user authentication methods including email/password sign in and sign up, WebAuthn, Google OAuth/SSO integration, and session management with Cloudflare KV.

Database with Drizzle and Cloudflare D1

Offers type-safe database operations, automatic migration generation, use of SQLite for local development, and efficient data fetching.

Email Service with React Email

Facilitates beautiful email templates, transactional emails, and provides an email preview mode for local development.

Deployment with Github Actions

Supports automatic deployments with comprehensive CI/CD, environment variables management, and cache purging.

Modern UI with Tailwind CSS

Features a responsive and stylish design with Tailwind CSS, dark/light mode, and includes a settings dashboard and profile page.

Edge Computing with Cloudflare Workers

Ensures global deployment with zero cold starts, edge caching, server-side rendering, and API rate limiting.

Validations with Zod and React Hook Form

Provides type-safe form validations on both client and server sides, input sanitization, and real-time validation.

Developer Experience Enhancements

Includes TypeScript support, ESLint, Prettier configuration, AI-powered development features, and comprehensive documentation.