Skip to main contentOverview
The Better Boilerplate is a monorepo structure containing multiple applications:
- Web App (
apps/web
): The main Next.js frontend application
- Server (
apps/server
): The backend server with tRPC , Hono and Prisma
- CMS (
apps/cms
): A headless CMS for content management
- Email (
apps/email
): Email service and templates
Tech Stack
- Next.js 15 (App Router)
- Tailwind CSS with shadcn/ui
- tRPC for type-safe API calls
- BetterAuth for authentication
- Stripe for payments
- Supabase (PostgreSQL)
- Prisma ORM
- tRPC for API contracts
- BetterAuth integration
- OpenRouter and vercel’s AI SDK for AI features
Infrastructure
- Supabase for database and storage
Getting Started
To get started with the boilerplate:
- Clone the repository
- Install dependencies using bun or pnpm or npm
- Set up your environment variables
- Run the development server
For detailed setup instructions, see the Setup Guide.