Build & Deploy Full-Stack App With Next.JS - Setting Up Prisma (Part 10)

Поділитися
Вставка
  • Опубліковано 13 жов 2023
  • Check out my courses: gtcoding.net/courses/
    Hi guys, this is a tutorial series on how to create a full-stack website using Next.JS. We will be using technologies like Cloudinary, Next Auth, Prisma, MongoDB and more to build this app.
    In this video, we will see how to set up Prisma adapter in Next Auth in our application. I hope you find this useful.
    Starter Files: github.com/Godsont/Tech-News-...
    Playlist: • Full Stack Website Usi...

КОМЕНТАРІ • 10

  • @gamensanity
    @gamensanity 10 днів тому

    you are amazing at explaining. i dont know why your videos dont have over 100,000 views minimum.

  • @albertoiong6895
    @albertoiong6895 9 місяців тому

    Your videos are really helpful to me... many thanks...

  • @fightscene817
    @fightscene817 9 місяців тому

    Thank you! Excellent guide

  • @mahendranath2504
    @mahendranath2504 9 місяців тому

    Nice 👌

  • @Argylleagen
    @Argylleagen 9 місяців тому

    Setting up prisma was super easy, barely an inconvenience!

  • @ameetjayawant4114
    @ameetjayawant4114 8 місяців тому +1

    Hi @GTCoding very strange error that I am seeing in Part 10. I followed your example all the way to time stamp 9:42. My route.ts has the adapter: PrismaAdapter(prisma). All of that is set up fine. When I click on sign in using either Github or Google I see an error in the Network tab that states: OAuthAccountNotLinked, and I am not signed in. The tables in MongoDB are not updated. But if I comment out the Prismaadapter(prisma) line in route.ts then I do not see the OAuthAccountNotLinked error and I am signed in correctly.
    My package.json:
    "@prisma/client": "^5.5.2",
    "prisma": "^5.5.2",
    "@auth/prisma-adapter": "^1.0.6",
    Thanks.

  • @DevranDenizzz
    @DevranDenizzz 8 місяців тому

    Just for information,if anyone has --Environment variable not found: DATABASE_URL-- error during sign in after setup, just remove the backticks on database_url in .env file..

  • @user-rq7ji4th5v
    @user-rq7ji4th5v 9 місяців тому

    I got an error : Unknown argument `provider_providerAccountId`. Did you mean `providerId_providerAccountId`? Available options are marked with ?.
    What will be the issue I am following same steps as directed.

    • @GTCoding
      @GTCoding  9 місяців тому +1

      I need to see the code for this. If you haven't been able to fix the issue, send me the code on my FB page facebook.com/gtcoding

    • @user-rq7ji4th5v
      @user-rq7ji4th5v 9 місяців тому

      @@GTCoding Thank you. I re-write the code as per directed and its working now.