Skip to content

Open-source SaaS Starter with User Roles & Admin Panel. Built using Next.js 14, Drizzle, Neon, Auth.js v5, Resend, React Email, Next Intl, Shadcn/ui, Stripe, Server Actions.

License

Notifications You must be signed in to change notification settings

hunterzhang86/fflow-next

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FFlow Next: Your First Overseas SaaS Template

FFlow Next

Accelerate Your SaaS Journey

Hunter Zhang Twitter License GitHub stars

README in English 简体中文版自述文件

Features · Quick Start · Tech Stack · Roadmap · Author · Credits


✨ Features

FFlow Next is a full-featured SaaS project template designed for global business, integrating modern frontend technology stack to help developers quickly build and deploy professional-grade SaaS applications.

💻 Complete Project Architecture

  • Modern Frontend Framework - App router based on Next.js 14
  • User Authentication - Integrated with Auth.js v5, supporting multiple authentication methods
  • Multi-language Support - Out-of-the-box internationalization for English, Chinese, and more
  • Database Integration - Using Drizzle ORM with Neon serverless PostgreSQL
  • Payment System - Built-in Stripe payment and subscription management
  • Email Functionality - Send modern emails via Resend and React Email

💳 Subscription and Billing

  • Diverse pricing plans and tiers
  • Secure payment processing
  • Subscription lifecycle management
  • User quotas and limitations

🌐 Global-Ready

  • UI/UX design adapted for international markets
  • Easily localizable content structure
  • Responsive design for all device sizes

🔒 Security and Performance

  • Type-safe codebase
  • Edge-optimized performance
  • Secure user data handling

🚀 Quick Start

Create New Project

# Using create-next-app
npx create-next-app my-saas-project --example "https://github.com/hunterzhang86/fflow-next"

# Or clone repository
git clone https://github.com/hunterzhang86/fflow-next.git my-saas-project

Deploy to Vercel

One-click deployment to Vercel:

Deploy with Vercel

Local Development

# 1. Install dependencies
pnpm install

# 2. Configure environment variables
cp .env.example .env.local
# Edit .env.local file with necessary environment variables

# 3. Start the development server
pnpm run dev

📚 Tech Stack

📦 Core Frameworks

  • Next.js 14 – React framework for best developer experience and optimized performance
  • Auth.js v5 – Modern authentication solution
  • Drizzle ORM – TypeScript-first ORM with type safety
  • Next-Intl – Complete internationalization solution
  • React Email – Modern email development framework

🎨 UI Components and Styling

🔌 Service Integrations

  • Vercel – Seamless deployment and preview
  • Neon – Serverless PostgreSQL database
  • Resend – Modern email sending service
  • Stripe – Payment processing and subscription management

🛠️ Development Tools

🛣️ Roadmap

We're working to make FFlow Next even better. Here's what we're currently working on:

  • Upgrade ESLint to v9
  • Add email notifications for successful subscriptions
  • Integrate Google Analytics
  • Support for additional languages
  • More payment gateway integrations
  • Admin dashboard enhancements

👨‍💻 Author

Created by Hunter Zhang in 2024, released under the MIT license.

🙏 Credits

This project was inspired by these excellent open-source projects:

🌟 Showcase

Projects built with FFlow Next:

  • Cross Hub - Ultimate Cross-Border Business Toolkit
  • AI Nexus - Empowering build AI apps faster

🤝 Contributing

Contributions are welcome! Please check out our contributing guidelines to get started.

📄 License

MIT License © 2024 Hunter Zhang

About

Open-source SaaS Starter with User Roles & Admin Panel. Built using Next.js 14, Drizzle, Neon, Auth.js v5, Resend, React Email, Next Intl, Shadcn/ui, Stripe, Server Actions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.2%
  • JavaScript 1.1%
  • Other 0.7%