Skip to content

DocksDocks/nextauth_prisma_mongodb

Repository files navigation

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

About

NextAuth with MongoDB, Prisma and Google Provider project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published