A template for setting up Lucia with Next.js and Drizzle ORM
1. clone the repo
git clone URL
2. change the path
cd lucia-demo
3. install the packages
pnpm install | bun install | npm install
4. add env variables from neon database
DATABASE_URL
5. apply the migrations
npx drizzle-kit migrate
6. run it locally
pnpm run dev
I'm hoping to keep this template as slim as possible and only add auth-related features. Some future things that might be nice to add in could be MFA sign out all devices etc. I'm open to contributions but please keep that core vision of "just auth related stuff" in mind.
This project is licensed under the MIT