Skip to content

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

License

Notifications You must be signed in to change notification settings

Boby900/lucia-demo

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published