Skip to content

fedelombar/auth-nextjs

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

  2. Change into the directory and install the dependencies

cd auth-nextjs

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
  1. Run the server
npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published