ahmad1702 / supabased

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SkunkKit Logo, a green ASCII skunk

SvelteKit & Supabase Boilerplate

Everything you need to kick off a SvelteKit + Supabase (SSR Auth) + ShadCN + Tailwind + Typescript project

Setup Steps

  1. Create an .env.local file in the root and add your Supabase project URL, anon and servive_role keys

  2. Setup the Supabase CLI locally and login by following this guide

  3. Run the supabase gen types typescript --local > src/lib/types/DatabaseDefinitions.ts command to generate types

  4. Follow the steps here and here (local) to update the email templates for the SSR auth flow

  5. Uncomment the index.ts, +layouts.server.ts, +layout.ts & +page.server.ts files

About


Languages

Language:Svelte 60.5%Language:TypeScript 33.2%Language:JavaScript 2.5%Language:PLpgSQL 1.6%Language:HTML 1.1%Language:CSS 1.0%