silentworks / supabase-by-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supabase by example

These are example projects using supabase in various frameworks. This repo took inspiration from Solid Templates.

Frameworks

  • nextjs
  • sveltekit
  • react
  • express (only in Magic Link + Otp SignIn and Reset flow example at the moment)

Getting started

Those templates dependencies are maintained via pnpm via pnpm up -Lri.

This is the reason you see a pnpm-lock.yaml. That being said, any package manager will work. This file can be safely be removed once you clone a template.

These templates are meant to be used as is via the degit utility.

Examples

Replace [framework] with a framework from the supported list of frameworks

npx degit silentworks/supabase-by-example/[framework] project-name
cd project-name
npm install # or pnpm install or yarn install

Magic Link Otp SignIn Flow in Server-side rendering (SSR) environment

Magic Link Otp SignIn Flow

Reset Password Flow in Server-side rendering (SSR) environment

Password Reset Flow

OAuth SignIn Flow in Server-side rendering (SSR) environment

OAuth SignIn Flow

About


Languages

Language:TypeScript 52.6%Language:CSS 24.0%Language:Svelte 7.0%Language:PLpgSQL 6.2%Language:JavaScript 5.2%Language:HTML 2.7%Language:Pug 2.3%