/lucia-demo

a template for setting up auth with next.js, lucia and drizzle.

Primary LanguageTypeScriptMIT LicenseMIT

lucia-demo

project-image

A template for setting up Lucia with Next.js and Drizzle ORM

🛠️ Installation Steps:

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

🍰 Contribution Guidelines:

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.

🛡️ License:

This project is licensed under the MIT