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.







