Opinionated baseline for building SaaS applications with zero friction.
Note
This template is based on the incredible work of several authors:
- Authentication: Antonio Erdeljac's next-auth guide
- Design: shadcn's Taxonomy
- Next.js 14 (app directory)
- Nested layouts and layout groups
- Data fetching, caching and mutation
- Loading UI
- Route handlers
- Metadata files
- Server- and client components
- API routes
- Authentication using Auth.js
- ORM and DB tools using Drizzle
- Database using PostgreSQL
- UI components built with shadcn/ui
- Payments using Lemon Squeezy
- Analytics using Tinybird
- Styled using Tailwind CSS
- Validations using Zod
- Written in TypeScript
- Set up infrastructure:
kubectl apply -k recipes/k8s- Copy .env.example to .env.local (or .envrc) and update the variables:
cp .env.example .env.local- Start the development server:
bun dev- Dynamic pricing
- Payment flow
- Turborepo(?)
- Org/team/enterprise support
- Role-based access control (RBAC)