a clean, straightforwrad template auth template with next.js and supabase
with preconfigured email/passowrd sign-up / sign-in.
-
clone the repo
git clone https://github.com/KasPeR0990/auth-clean.git
-
install NPM packages
npm install
-
Set up your environment variables. Rename
.env. example
to.env.local
and add your Supabase project URL and anon key. You can find these in your Supabase project's API settings.NEXT_PUBLIC_SUPABASE_URL=YOUR_SUPABASE_URL NEXT_PUBLIC_SUPABASE_ANON_KEY=YOUR_SUPABASE_ANON_KEY
-
Run the development server
npm run dev
this auth template should now work