A modern Next.js starter template with Supabase integration, featuring a beautiful UI powered by Radix UI components and Tailwind CSS.
- URL: https://ysskrishna-nextjs-supabase-starter.vercel.app/
- Email:
demo@gmail.com - Password:
demopassword
- 🔐 Authentication system with Supabase
- 📱 Responsive design with Tailwind CSS
- 🎨 Modern UI components from Radix UI
- 📊 Dashboard interface
- 🎯 TypeScript support
- 🌓 Light/Dark theme support with system preference detection
- 🔄 Automatic route protection and redirections
The application implements a complete authentication flow with the following features:
- Protected routes with automatic redirections
- Session management using Supabase Auth
- Google OAuth integration
- Persistent authentication state
- Secure token handling
For detailed setup instructions, please refer to the Authentication Guide which includes:
- Supabase project setup
- Google OAuth configuration
- Environment variables setup
- Authentication middleware configuration
- Framework: Next.js 15
- Database & Auth: Supabase
- Styling: Tailwind CSS
- UI Components: Radix UI
- Form Handling: React Hook Form
- Validation: Zod
- Charts: Recharts
- Icons: Lucide React
- Date Handling: date-fns
- Clone the repository
- Install dependencies:
npm install # or pnpm install - Set up your Supabase project and add the environment variables
- Run the development server:
npm run dev # or pnpm dev
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLint
├── app/ # Next.js app directory
│ ├── auth/ # Authentication routes
│ ├── dashboard/ # Dashboard pages
│ ├── signin/ # Sign in page
│ └── signup/ # Sign up page
├── components/ # Reusable UI components
├── lib/ # Utility functions and configurations
├── public/ # Static assets
└── styles/ # Global styles
└── docs/ # Documentation
└── AUTHENTICATION.md # Authentication setup guide
The project uses a comprehensive set of modern dependencies including:
- Radix UI components for accessible UI elements
- React Hook Form for form handling
- Zod for schema validation
Contributions are welcome! Please feel free to submit a Pull Request.
This template is licensed under the MIT License - see the LICENSE file for details.







