Hi all,
This is a repo containing a starter template for auth for Next.js with BetterAuth.
You can fork this and then start working on your new Next.js project rapidly.
See a video demo, with a full video to build this from scratch, here: https://tomdekan.com/articles/google-sign-in-nextjs
- add a .env file with the variables listed in the guide above
- Install packages
pnpm install- Run the dev server
pnpm devIf any doubt, read my guide here