supabase-auth Svelte Themes

Supabase Auth

Supabase and Svelte authorization boilerplate with sign up and in with password, and forgot password.

Supase + Svelte Kit Auth

Supabase and Svelte authorization boilerplate with sign up and in with password, and forgot password.

# create a new project in the current directory
npm install

More info https://kit.svelte.dev/

Supabase client

Create a .env file in the root folder with your YOUR_URL and YOUR_KEY.

PUBLIC_SUPABASE_URL=YOUR_URL
PUBLIC_SUPABASE_ANON_KEY=YOUR_KEY

More information https://supabase.com/docs/reference/javascript/installing

start a development server

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Top categories

Loading Svelte Themes