A modern and robust boilerplate for SaaS applications, built with Next.js 15 and best development practices.
- Next.js 15 - React Framework with App Router
- React 19 - UI Library
- TypeScript - Type Safety
- Tailwind CSS - Utility CSS Framework
- Radix UI - Unstyled, Accessible Components
- TanStack Query - Data Fetching & State Management
- Zod - Schema Validation
- React Hook Form - Form Management
- Next Themes - Dark Mode Support
- MDX - Markdown Support
- Recharts - Charting Library
- Sonner - Toast Notifications
- π¨ Modern UI with Radix UI Components
- π± Responsive Design
- π Dark/Light Mode
- π SEO Optimized
- π Performance Optimized with Turbopack
- π Data Visualization with Recharts
- π MDX Support for Content
- π Type Safety with TypeScript
- π― Form Validation with Zod
- π Data Fetching with TanStack Query
- π Toast Notifications with Sonner
- Clone the repository:
git clone https://github.com/your-username/nextjs-saas-boilerplate.git
- Install dependencies:
npm install
- Set up environment variables:
cp .env.example .env.local
- Run database migrations (if you're using Prisma):
npx prisma migrate dev
- Start the development server:
npm run dev
Visit http://localhost:3000 to see the result.
βββ src/
β βββ app/ # Next.js App Router
β βββ components/ # React Components
β βββ lib/ # Utilities and Configurations
β βββ hooks/ # Custom React Hooks
β βββ schemas/ # Zod Validation Schemas
β βββ data/ # Static Data
β βββ blog-posts/ # MDX Content
βββ public/ # Static Files
βββ config files # Various configuration files
Please read our Contributing Guide for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
ClΓ‘udio Alves
- Email: [email protected]
- GitHub: @claudioavgo
- Vercel for hosting this project
- All contributors who helped improve this boilerplate