A modern, type-safe, and production-ready Next.js boilerplate for building applications.
- ⚡️ Next.js 15 with App Router
- 🎨 Shadcn UI components with Radix UI primitives
- 🎯 TypeScript for type safety
- 🎨 Tailwind CSS for styling
- 🔐 Authentication with Supabase
- 📊 Analytics with OpenPanel
- 🗄️ Database with Prisma Accelerate
- 📱 Mobile-first responsive design
- 🎭 Dark mode support
- 📝 MDX support for content
- 🚀 Performance optimized
- 🔍 SEO friendly
- 🛡️ Security best practices
- Framework: Next.js 15
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: Shadcn UI, Radix UI
- Database: Prisma
- Authentication: Supabase
- Analytics: OpenPanel
- Rate Limiting: Upstash
- Form Handling: React Hook Form
- Validation: Zod
- State Management: React Query
- Icons: Lucide React
- Notifications: Sonner
-
Clone the repository
git clone https://github.com/yourusername/gymbrah.git cd gymbrah -
Install dependencies
pnpm install
-
Set up environment variables
cp .env.example .env
Fill in the required environment variables in
.env -
Run the development server
pnpm dev
src/
├── app/ # App router pages and layouts
├── components/ # Reusable UI components
├── lib/ # Shared utilities and configurations
├── utils/ # Helper functions
├── actions/ # Server actions
├── hooks/ # Custom React hooks
└── assets/ # Static assets
pnpm dev- Start development serverpnpm build- Build for productionpnpm start- Start production serverpnpm lint- Run ESLint
The project uses Shadcn UI components built on top of Radix UI primitives. All components are:
- Fully typed with TypeScript
- Customizable with Tailwind CSS
- Accessible by default
- Responsive and mobile-friendly
Authentication is handled by Supabase, providing:
- Social authentication
- Session management
- Protected routes
The project uses Prisma as the ORM with:
- Type-safe database queries
- Migrations
- Seeding capabilities
- Database schema management
The project is optimized for deployment on Vercel:
- Push your code to GitHub
- Import your repository on Vercel
- Set up environment variables
- Deploy!
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For support, reach me on X or visit federicofan.com.