This is a simple example of how to use Better Auth with SvelteKit.
http://localhost:5173/api/auth/callback/github
.env
file and add your environment variables. See .env.example
for reference. (make sure to grab the github client id and secret for github, the rest you can leave as is)pnpm install
to install the dependenciesdocker-compose up -d
pnpm run db:push
pnpm run dev