Skip to content

Latest commit

 

History

History
58 lines (35 loc) · 991 Bytes

File metadata and controls

58 lines (35 loc) · 991 Bytes

NextAuth with MongoDB, Prisma and Google Provider project

Video explaining how to setup

https://youtu.be/qNA_NGRAGLI

.env

Configure the .env based on .env.example

Prisma

generate prisma

npx prisma generate

and push the collections to your database

npx prisma db push

Google

google callback urls:

http://localhost:3000/api/auth/callback/google

http://localhost:3000/auth/callback/google

Documentation used:

Run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev