This is a simple example of how to use the Next with Supabase for Auth.
Supabase is the Open Source alternative to Firebase.
What you can do with this example :
- users can sign in with magic links
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"
Install dependencies :
npm install
# or
yarn install
Run the development server :
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.