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/
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
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
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.