Skip to content

Example project implementing authentication, authorization, and routing with Next.js and Supabase

Notifications You must be signed in to change notification settings

dabit3/supabase-nextjs-auth

Repository files navigation

Magic Link Authentication and Route Controls with Supabase and Next.js

To run this project, To get started with this project, first create a new project in the Supabase dashboard

Once you've created the project in the Supabase dashboard, continue with the next steps.

Run either locally or deploy to Vercel

Deploying to Vercel

Deploy with Vercel

Running locally

  1. Clone this project
git clone https://github.com/dabit3/supabase-nextjs-auth
  1. Change into the directory and install the dependencies
cd supabase-nextjs-auth

npm install
  1. Create a file named .env.local and update it with the values from your Supabase project:
NEXT_PUBLIC_SUPABASE_URL=https://app-id.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-public-api-key

App URLs

  1. Run the server
npm run dev

About

Example project implementing authentication, authorization, and routing with Next.js and Supabase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published