Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amangarg0303/next-auth

Email-password, Two-factor auth, forgot-pass, email-verification, google, github, user and admin roles
https://github.com/amangarg0303/next-auth

nextjs nextjs-server-actions postgresql prisma resend-email shadcn-ui typescript zod

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

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](https://resend.com/home) for email services

> NEXT_PUBLIC_APP_URL="http://localhost:3000"

Then do `npm run dev` in terminal