A small SvelteKit project demonstrating how to use...
Create a hosted Supabase project or set up a local instance. If you use a hosted instance, keep in mind to enable anonymous sign ins. For the local instance, this is already configured in supabase/config.toml.
Copy .env.example to .env.local and provide all config values.
Install dependencies:
bun install
Run the init-db command to initialize the database. The schema can be found in prisma/schema.prisma and the database seed query in ./seed.sql.
bun run init-db
Start a dev server with
bun run dev
Navigate to http://localhost:5731
When using a local instance, verification emails will be send to Inbucket, a mock email server which can be accessed under http://localhost:54324/.