This example was made from the awesome tutorial series from @huntabyte.
This uses Pocketbase with SvelteKit and DaisyUI
The Huntabyte tutorial series here: https://www.youtube.com/watch?v=vKqWED-aPMg&list=PLq30BP0TIcqW3sMm404UIEA7osPEkKAyg
To get set up with a Pocketbase database I used the guide from here: https://scottspence.com/posts/set-up-free-pocketbase-db
For the mail service I'm using https://www.sendinblue.com/
If you like using Prisma there's also a really good series from @mattcroat.
Over on the YouTube channel:
There's a blog post detailing it too: https://joyofcode.xyz/sveltekit-authentication-using-cookies
For deploying:
This post from @josefaidt did the trick!! https://josef.dev/posts/svelte-kit-planetscale-and-prisma-on-vercel
I detailed the issues I had getting this working on Vercel here: https://scottspence.com/posts/prisma-sveltekit-planetscale-deployment-issues