All Projects → dabit3 → supabase-nextjs-auth

dabit3 / supabase-nextjs-auth

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

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].