Skip to content

Email-password, Two-factor auth, forgot-pass, email-verification, google, github, user and admin roles

Notifications You must be signed in to change notification settings

AmanGarg0303/next-auth

Repository files navigation

Open the project and do npm i in terminal to install node_modules.

Create a .env file in root folder which includes -

DATABASE_URL="postgresql://host:password@localhost:5432/dbName?schema=public"

AUTH_SECRET= Random secret which will be used by jwt and in authentication

GITHUB_CLIENT_ID=

GITHUB_CLIENT_SECRET=

GOOGLE_CLIENT_ID=

GOOGLE_CLIENT_SECRET=

RESEND_API_KEY= Signup to Resend for email services

NEXT_PUBLIC_APP_URL="http://localhost:3000"

Then do npm run dev in terminal

About

Email-password, Two-factor auth, forgot-pass, email-verification, google, github, user and admin roles

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages