Skip to content

Example of how to use the Next JS with Supabase for auth & account management.

Notifications You must be signed in to change notification settings

daoodaba975/next.supabase.auth

Repository files navigation

Next Supabase Auth 🔐

This is a simple example of how to use the Next with Supabase for Auth & account management.
Supabase is the Open Source alternative to Firebase.

What you can do with this example:

  • users can sign in with magic links
  • users can store their data in Supabase

Getting Started

Add Supabase API URL & ANON Key to the .env.local file:

NEXT_PUBLIC_SUPABASE_URL=YOUR_SUPABASE_URL
NEXT_PUBLIC_SUPABASE_ANON_KEY=YOUR_SUPABASE_ANON_KEY

Run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

More

Supabase & Next.js guide
Supabase docs

About

Example of how to use the Next JS with Supabase for auth & account management.

Resources

Stars

Watchers

Forks