A modern, production-ready Next.js 15 template with Zustand, Supabase, TailwindCSS, ShadCN, and Framer Motion for smooth development. Open for collaboration!
- 🌟 Zustand for global state management
- 🔥 Supabase for backend services
- 🎨 TailwindCSS for styling
- 🛠️ ShadCN for UI components
- 🎭 Framer Motion for animations
- Full Next.js 15 support (including Partial Prerendering & Server Actions)
- Optimized performance and best practices
- Dark mode support 🌙
- Built-in authentication and authorization with Supabase
- Beautiful UI with ShadCN components
- Smooth animations with Framer Motion
- Scalable and easy-to-maintain codebase
git clone https://github.com/bouncei/nextjs15-supabase-template.git
cd nextjs15-supabase-template
npm install or yarn installCreate a .env.local file in the root of your project and add the following:
NEXT_PUBLIC_SUPABASE_URL=your-supabase-url
NEXT_PUBLIC_SUPABASE_KEY=your-supabase-key
MAX_IMAGE_SIZE_MB=your-bucket-image-size
MAX_VIDEO_SIZE_MB=your-bucket-video-size
BUCKET_NAME=your-bucket-nameReplace the placeholders with your actual Supabase credentials and bucket settings.
npm run dev or yarn devYour application will be available at http://localhost:3000
npm run build or yarn buildYour application will be built for production and ready to be deployed.
npm run start or yarn startnextjs15-supabase-template/
├── public/ # Static assets
├── app/ # Next.js pages
├── components/ # Reusable UI components
├── hooks/ # Custom hooks
├── providers/ # Context providers
├── constants/ # Utility functions
├── stores/ # Zustand store
├── lib/ # Supabase client and other libraries
├── .env.local # Environment variables
├── next.config.js # Next.js configuration
├── tailwind.config.js # TailwindCSS configuration
├── postcss.config.js # PostCSS configuration
├── package.json # Project dependencies and scripts
└── README.md # Project documentationWant to contribute? Follow these steps:
- Fork this repository
- Create a new branch for your feature or bug fix
- Commit your changes with a clear and descriptive commit message
- Push your changes to your forked repository
- Create a pull request to this repository
Give a ⭐ if you like this project! Also, feel free to contribute and make this template even better! 🚀