Introduction · Installation · Author · Credits
Click here to watch the demo video
Empower your next project with the stack of Next.js 14, Drizzle, Neon, Auth.js v5, Resend, React Email, Next-Intl, Shadcn/ui, and Stripe.
All seamlessly integrated with the FFlow Next to accelerate your development and SaaS journey.
FFlow Next supports multiple languages out of the box, making it easy to reach a global audience. Currently, we provide translations for English and Chinese, with more languages to come.
Clone & create this repo locally with the following command:
npx create-next-app my-saas-project --example "https://github.com/hunterzhang86/fflow-next"
Or, deploy with Vercel:
- Install dependencies using pnpm:
pnpm install
- Copy
.env.example
to.env.local
and update the variables.
cp .env.example .env.local
- Start the development server:
pnpm run dev
- Upgrade eslint to v9
- Add resend for success subscriptions
- Add google analytics
- Next.js – React framework for building performant apps with the best developer experience
- Auth.js – Handle user authentication with ease with providers like Google, Twitter, GitHub, etc.
- Drizzle – Typescript-first ORM for Node.js
- React Email – Versatile email framework for efficient and flexible email development
- Vercel – Easily preview & deploy changes with git
- Resend – A powerful email framework for streamlined email development
- Neon – Serverless Postgres with autoscaling, branching, bottomless storage and generous free tier.
- Tailwind CSS – Utility-first CSS framework for rapid UI development
- Shadcn/ui – Re-usable components built using Radix UI and Tailwind CSS
- Framer Motion – Motion library for React to animate components with ease
- Lucide – Beautifully simple, pixel-perfect icons
next/font
– Optimize custom fonts and remove external network requests for improved performanceImageResponse
– Generate dynamic Open Graph images at the edge
useIntersectionObserver
– React hook to observe when an element enters or leaves the viewportuseLocalStorage
– Persist data in the browser's local storagenFormatter
– Format numbers with suffixes like1.2k
or1.2M
capitalize
– Capitalize the first letter of a stringtruncate
– Truncate a string to a specified lengthuse-debounce
– Debounce a function call / state update
- TypeScript – Static type checker for end-to-end typesafety
- Prettier – Opinionated code formatter for consistent code style
- ESLint – Pluggable linter for Next.js and TypeScript
- Vercel Analytics – Track unique visitors, pageviews, and more in a privacy-friendly way
Created by Hunter Zhang in 2024, released under the MIT license.
This project was inspired by next-saas-stripe-starter, shadcn's Taxonomy, Steven Tey’s Precedent, and Antonio Erdeljac's Next 13 AI SaaS.
- Shadcn (@shadcn)
- Steven Tey (@steventey)
- Antonio Erdeljac (@YTCodeAntonio)
- Hunter Zhang (@hunterzhang86)
- Cross Hub - Ultimate Cross-Border Business Toolkit