This is a starter template for building a SaaS application using Next.js with support for authentication, Stripe integration for payments, and a dashboard for logged-in users.
Key Features:
- Marketing landing page with animated Terminal element
- Pricing page which connects to Stripe Checkout
- Dashboard pages with CRUD operations on users/teams
- Basic RBAC with Owner and Member roles
- Subscription management with Stripe Customer Portal
- Email/password authentication with JWTs stored to cookies
- Global middleware to protect logged-in routes
- Local middleware to protect Server Actions or validate Zod schemas
- Activity logging system for any user events
Tech Stack:
- Framework: Next.js
- Database: Postgres
- ORM: Drizzle
- Payments: Stripe
- UI Library: shadcn/ui