This demo showcases how one might use better auth with SvelteKit. Don't hesitate to drop some feedback and report any issues. <3
pnpm install
## Create an env file
cp .env.example .env
Edit the .env file with your SQLite credentials, or set the DATABASE_URL to file:local.db
to create a local SQLite database.
## Initialize the database and run an initial migration
pnpm db:push
## Run the project locally in dev mode, and launch the browser
pnpm dev