https://github.com/redakadri/lucia-auth
Implementing different authentication methods with the help of lucia
https://github.com/redakadri/lucia-auth
auth bun drizzle-orm nextjs15
Last synced: about 1 year ago
JSON representation
Implementing different authentication methods with the help of lucia
- Host: GitHub
- URL: https://github.com/redakadri/lucia-auth
- Owner: RedaKadri
- Created: 2024-10-30T16:28:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-04T19:27:33.000Z (over 1 year ago)
- Last Synced: 2025-02-12T20:34:18.782Z (over 1 year ago)
- Topics: auth, bun, drizzle-orm, nextjs15
- Language: TypeScript
- Homepage:
- Size: 320 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a [Next.js](https://nextjs.org) project for learning how to implement auth from scratch using [lucia](https://lucia-auth.com/)
## Getting Started
First, run these commands:
```bash
cp .env.example .env
bun install
bun db:generate
bun db:migrate
bun --bun dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
> [!NOTE]
> for the email and password example switch to the [other branch](https://github.com/RedaKadri/lucia-auth/tree/email-password)