Skip to content

claudioavgo/nextjs-boilerplate

Repository files navigation

Next.js SaaS Boilerplate

A modern and robust boilerplate for SaaS applications, built with Next.js 15 and best development practices.

πŸš€ Technologies

✨ Features

  • 🎨 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

πŸ› οΈ Getting Started

  1. Clone the repository:
git clone https://github.com/your-username/nextjs-saas-boilerplate.git
  1. Install dependencies:
npm install
  1. Set up environment variables:
cp .env.example .env.local
  1. Run database migrations (if you're using Prisma):
npx prisma migrate dev
  1. Start the development server:
npm run dev

Visit http://localhost:3000 to see the result.

πŸ“¦ Project Structure

β”œβ”€β”€ 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

🀝 Contributing

Please read our Contributing Guide for details on our code of conduct and the process for submitting pull requests.

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ‘¨β€πŸ’» Author

ClΓ‘udio Alves

πŸ™ Acknowledgments

  • Vercel for hosting this project
  • All contributors who helped improve this boilerplate

About

🐦 Next.js Boilerplate | Minimal, efficient, and production-grade

Topics

Resources

Contributing

Stars

Watchers

Forks