π Complete Next.js Subscription Starter Template
The all-in-one starter kit for building high-performance SaaS applications using Next.js, TailwindCSS, and Supabase.
Warning: This app is a work in progress. I'm building this in public. Follow the progress on Twitter @antoineross__. Check out the features below.
π Features
- π Complete Auth Package: Secure user management and authentication with Supabase
- π οΈ Data Management: Powerful data access & management tooling on top of PostgreSQL with Supabase
- π³ Stripe Integration: Seamless integration with Stripe Checkout and the Stripe customer portal
- π Pricing & Subscriptions: Automatic syncing of pricing plans and subscription statuses via Stripe webhooks
- π TailwindCSS & Tailwind UI: Customized and flexible UI components with Tailwind UI
- βοΈ React 18: Enjoy the latest features and improvements with React 18
- π TypeScript: Strongly typed programming for better development experience
- π¨ Shadcn/ui: Beautiful and customizable UI components
- π Zod Validation: Schema validation to keep your data safe and sound
- π§ͺ Testing Tools: Integrated unit and e2e testing with Jest, React Testing Library, and Playwright
- π§βπ» Developer Experience: ESLint, Prettier, Husky, and Commitlint for maintaining code quality and consistency
- π Supabase storage - Included are setting up policies, and handling image compression in the browser.
- βΌ¬ tRPC - Included a guide on how to add a very lean trpc router for your api. You just need to add 3 folders, and 1 file.
- βοΈ Local Development: Develop locally with Supabase, Docker, and a set of custom commands
- π Documentation & Blog: Utilize MDX compiler from the open-source project Fumadocs for documentation and blog content.
π¬ Demo
Live Demo
Hero Section:
Dashboard View:
Pricing Table:
Documentation:
Blog:
π Quick Start Guide
Get up and running quickly by following the Quick Start Guide.
π Going Live
1. Archive Testing Products
Before going live, archive all test mode Stripe products. Switch Stripe from test mode to production mode and update your environment variables.
2. Redeploy
After updating environment variables, redeploy your application through Vercel.
π Additional Features
- π Analytics Ready: Easy integration with analytics tools like Google Analytics
- π I18n Support: Built-in internationalization with Paraglide
- π₯ Lighthouse Performance: Achieve a perfect score with optimized performance, accessibility, and SEO
π€ Contribution
To contribute:
- Fork the repository.
- Create a new branch.
- Make your changes and commit them.
- Push to the forked repository.
- Create a pull request.
β€οΈ Support
If you like the project, consider leaving a star. π
Made by Antoine Ross.