Install the dependencies for this project by running the following command from this repository root directory in your terminal
pnpm install
- Create a project on the Supabase dashboard
- Get the
URL
andanon
key from your Settings > API section - Copy the
.env.example
file in this project and create a new.env
file from it - Replace
PUBLIC_SUPABASE_URL
with theURL
from step 2 andPUBLIC_SUPABASE_ANON_KEY
withanon
key from step 2 - Copy the
SQL
below and paste it inside of the SQL Editor section
DROP TABLE IF EXISTS "public"."test";
-- Table Definition
CREATE TABLE "public"."test" (
"id" int8 NOT NULL,
"created_at" timestamptz DEFAULT now(),
PRIMARY KEY ("id")
);
- Build the package that this example relies on using the following command
pnpm build:sveltekit
- Run the following command from the repository root
pnpm dev --filter=@example/sveltekit-email-password -- --open