https://github.com/faisal004/auth-toolbox
Project implementing Auth.js .
https://github.com/faisal004/auth-toolbox
next-auth nextjs13 reactjs shadcn-ui tailwindcss zod
Last synced: 4 months ago
JSON representation
Project implementing Auth.js .
- Host: GitHub
- URL: https://github.com/faisal004/auth-toolbox
- Owner: faisal004
- Created: 2024-01-02T14:21:49.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-09T17:48:46.000Z (almost 2 years ago)
- Last Synced: 2025-09-07T06:36:12.726Z (4 months ago)
- Topics: next-auth, nextjs13, reactjs, shadcn-ui, tailwindcss, zod
- Language: TypeScript
- Homepage:
- Size: 502 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
https://github.com/faisal004/auth-toolbox/assets/88244542/324e9bf4-e36d-476c-8d36-d71006581ae3
# Auth-Kit
Small project implementing Nextauth.
## Key Features
- User can sign in using credentials.
- User can sign in using providers(Google & Github).
- User email is verified if using credentials .
- Using [RESEND](https://resend.com) email are send.
- User can reset their passwords.
- Also two factor athentication is also implemented
## Installation
Clone the project on your machine
```bash
git clone https://github.com/faisal004/auth-toolbox.git
```
Open Project
```bash
cd auth-toolbox
```
Install dependencies
```bash
npm install
```
Set up .env file
```bash
DATABASE_URL=""
DIRECT_URL=""
AUTH_SECRET=""
GITHUB_CLIENT_SECRET=
GITHUB_CLIENT_ID=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
RESEND_API_KEY=
```
## Setup Database
You can go to [neon.tech](https://neon.tech) to get a free postgres instance.Now run
```bash
npx prisma generate
npx prisma db push
```
Start app
```bash
npm run dev
```
## Feedback
Feel free to provide Feedback at
faisalhusain1320@gmail.com