After months of building, I just launched SaaS Starter — a complete
Next.js 16 boilerplate for indie hackers and founders who want to ship
fast without rebuilding the same foundation every time.
Here's everything that's included and why I built each piece.
The problem
Every time I started a new SaaS project, I spent the first 2-4 weeks
on the same things: auth, payments, emails, database setup, deployment.
None of it is the actual product — it's just infrastructure.
SaaS Starter solves that.
What's included
Auth
- Email + password with full email verification flow
- Google OAuth via NextAuth v5
- Forgot password / reset password
- Protected routes via middleware
Stripe Subscriptions
- 4 tiers: Free, Starter ($29), Pro ($79), Enterprise ($199)
- Webhooks for real-time subscription updates
- Upgrade/downgrade via Stripe Billing Portal
- No duplicate subscriptions on re-purchase
AI Chat
- OpenAI streaming via Server-Sent Events
- Per-tier message limits (e.g. Free = 10/month, Pro = unlimited)
- Chat history with soft delete
- Clean chat UI with markdown support
Database
- Prisma 7 + PostgreSQL (Neon)
- Full schema: User, Subscription, Message models
- Lazy initialization for Vercel compatibility
Emails
- Resend for transactional emails
- Email verification on signup
- Password reset emails
- Verified domain sending
Frontend
- shadcn/ui + Tailwind CSS
- Framer Motion animations
- Dark/light mode
- Fully responsive
Blog & SEO
- MDX blog with gray-matter + remark-gfm
- Sitemap + robots.txt
- OpenGraph metadata utilities
- /privacy and /terms pages
Documentation
- README.md
- SETUP.md (step-by-step local setup)
- DEPLOYMENT.md (Vercel deployment guide)
- .env.example with all variables documented
Tech stack
- Framework: Next.js 16.1.6 (Turbopack)
- Language: TypeScript strict mode
- Database: Prisma 7 + PostgreSQL (Neon)
- Auth: NextAuth v5 beta
- Payments: Stripe
- AI: OpenAI API
- Email: Resend
- UI: shadcn/ui + Tailwind + Framer Motion
Live demo
You can try the full demo at https://demo.siteforge.cloud
All features are live — you can register, verify email, upgrade plan,
use the AI chat, everything.
Where to get it
- Storefront: https://siteforge.cloud
- Gumroad ($97 one-time): https://forgegala.gumroad.com/l/saas-starter
- Product Hunt: https://www.producthunt.com/posts/saas-starter
One-time purchase, no subscription. Includes all future updates.
Built this solo as an indie hacker from Baku, Azerbaijan 🇦🇿
Happy to answer any questions in the comments!
Top comments (0)