Next Auth and Prisma

Поделиться
HTML-код
  • Опубликовано: 5 июл 2024
  • Learn how to store your next auth user's details in a database using prisma.
    Newer next auth video for next 14 and drizzle orm: • Effortless Auth in Nex...
    Code:
    www.sammeechward.com/next-aut...
    Chapters:
    0:00 Intro
    1:14 Next Auth Adapters
    2:39 Prisma Schema
    5:40 Creating a new user
    6:48 Creating a post with a user
    10:41 Getting posts and users
    12:01 Summary
    Prisma and Next
    www.sammeechward.com/prisma-a...
    The Easiest Way to add Auth to a Next App
    www.sammeechward.com/the-easi...
    My Website: www.sammeechward.com
    Instagram: / meech_ward
    Twitter: / meech_ward
    Github: github.com/orgs/Sam-Meech-Ward
  • НаукаНаука

Комментарии • 14

  • @heguer87
    @heguer87 Год назад +1

    finished the 3 videos...very well done!! thanks!!

  • @flavioneto1081
    @flavioneto1081 Год назад +1

    very helpful, precisely what i was looking for, thanks

  • @user-he5uv6ij7e
    @user-he5uv6ij7e 8 месяцев назад

    Thank you so much your content is excellent !!! I would love to see more from you about Next / Next prisma

    • @SamMeechWard
      @SamMeechWard  8 месяцев назад

      Thank you, I’ll probably do some next with drizzle by the end of the year

  • @siavoshoon
    @siavoshoon Год назад +2

    pls come back with a fresh lesson, we miss u🙏🏼

  • @skverskk
    @skverskk Год назад

    Very nice!

  • @user-im8pk8jd7g
    @user-im8pk8jd7g 7 месяцев назад

    Thank you for your great video! I want ask you how to find a unique user if the provider doesn't return email address (in my case, Naver login doesn't provide email address, thus session.user.email equals 'undefined').

  • @Elliott_Ives
    @Elliott_Ives Год назад

    I'm creating an application using PlanetScale as my database solution, which does not support the use of foreign key constraints. Does this mean that NextAuth prisma adapter is impossible to use with PlanetScale? :/

  • @alexhunter7766
    @alexhunter7766 Год назад +2

    Great vid. Where would you store your database for production?

  • @fabiocarvalho9033
    @fabiocarvalho9033 Год назад

    nice

  • @shivangrathore
    @shivangrathore 2 месяца назад

    Next auth is pain is ass, I am building my own authentication system with custom fields lol

  • @doochukbeni1416
    @doochukbeni1416 11 месяцев назад

    Cool

  • @ricardorien
    @ricardorien Год назад

    Thanks dude, but it's kinda awkward you hace Backend and Frontend in the same folder, it's confusing.