Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/amangarg0303/next-auth
- Owner: AmanGarg0303
- Created: 2024-01-12T17:04:45.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-16T12:04:20.000Z (11 months ago)
- Last Synced: 2024-01-16T22:38:26.125Z (11 months ago)
- Topics: nextjs, nextjs-server-actions, postgresql, prisma, resend-email, shadcn-ui, typescript, zod
- Language: TypeScript
- Homepage:
- Size: 595 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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