Skip to content

Next.js + Supabase Auth Starter

A Next.js starter with Supabase sign-in, server actions, Zod validation and shadcn/ui forms.

github.com/Sahil-Sharma-23/supa-next-shad-auth

Next.js + Supabase Auth Starter website screenshot
Added
GitHub stars
60
License
MIT
Price
Free

About

About Next.js + Supabase Auth Starter

Next.js + Supabase Auth Starter is a template for apps that need user accounts. It combines the Next.js App Router with Supabase authentication, server actions for form handling, Zod for validation, TypeScript and Tailwind CSS, with shadcn/ui components for the interface. The README highlights responsive layouts, type safety, secure use of server actions and loading states in the UI.

Create a project with create-next-app using the repository as the example, create a project in Supabase, rename the .env.local.example file to .env.local and fill in the Supabase URL and anon key. Then start the dev server. The demo restricts new registrations, so the example environment file includes test credentials. The code is MIT licensed, and the README notes that the services used are free up to certain limits.

Next.js + Supabase Auth Starter features

6 features

  • Supabase email authentication
  • Next.js server actions for forms
  • Zod schema validation
  • Type-safe TypeScript throughout
  • shadcn/ui components with loading states
  • Responsive layouts

Install Next.js + Supabase Auth Starter

1 command

Terminal

$ npx create-next-app my-app -e https://github.com/Sahil-Sharma-23/supa-next-shad-auth

What you can build with Next.js + Supabase Auth Starter

3 use cases

  • Adding sign-in and sign-up to a new Next.js app
  • Learning secure server actions with Supabase
  • Starting a members-only product on a free Supabase tier

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What Next.js + Supabase Auth Starter is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro