User verification email in nextjs

Поділитися
Вставка
  • Опубліковано 20 сер 2024
  • Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.
    All the learning resources such as code files, documentations, articles and community discussions are available on our website:
    chaicode.com/
    You can find our discord link, github link etc on the above website.
    Twitter/X link: x.com/hiteshdo...
    Discord link: hitesh.ai/discord
    Learn React with 10 projects: • Let's learn react from...
    Learn Docker: • A practical guide on D...
    Learn Kubernetes: • Complete Kubernetes Co...
    How does a browser works: • How does a browser wor...
    How nodejs works: • How node JS works | En...
    Learn Redux-toolkit: • Learn Redux Toolkit in...
    Learn NextJS: • Nextjs Full stack course
    Learn Typescript: • Why to learn Typescript
    Learn Javascript: • Welcome to new JavaScr...
    Learn React Native: • React Native Mastery: ...
    Learn Zustand: • React state management...
    Learn Golang: • How to get started wit...
  • Наука та технологія

КОМЕНТАРІ • 41

  • @arafattai9895
    @arafattai9895 Рік тому +7

    Just completed this series and absolutely loved it. Excellent work Hitesh, please never stop teaching❤

  • @User-yb3yc
    @User-yb3yc Місяць тому +1

    Thanks Sir for Providing this level of Quality Content on UA-cam 🙇🙏🙏

  • @vinayprince6267
    @vinayprince6267 Рік тому +3

    This next series are really awesome and help full. Thank you for the awesome series @Hitesh

  • @sharathlingam3444
    @sharathlingam3444 11 місяців тому +1

    This is the course that I was searching in the web for like weeks. Thanks for your time and knowledge you shared with us.

  • @MittuRohith
    @MittuRohith Рік тому +2

    Wow i thought per day one video , but this speed and quality of content really amazing man.... Bow for your dedication and Hard work

  • @theRealWorldLessonsByTate
    @theRealWorldLessonsByTate 3 місяці тому +1

    i just couldn't understand something, when we make a call to API and that API fires the sendMail helper function which verifies the user and then send email to the user to verify? after he has been verified ? someone please explain this to me

  • @icoderdev
    @icoderdev Рік тому +5

    Please extend it ❤

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

    i think there is a problem after signup we can login and if we login we can not go to /verifyemail hence email not verified

  • @abdussamad0348
    @abdussamad0348 Рік тому

    I feel sad that this series ended. Wish it could get some more episodes.

  • @rajbongshi2002
    @rajbongshi2002 Рік тому +3

    24:31 here line no 17 is not working for me. Anyone can tell me this reason. Because Date.now() method returns the milliseconds value of the current time but in mongodb verifyTokenExpiry is set with Date string then how $gt can compare it?
    So, for me this is not working..now my problem is solved after converting verifyTokenExpiry to milliseconds. But i want to know, how it worked for Hitesh sir....???

  • @karanbadhwar4113
    @karanbadhwar4113 Рік тому +5

    couldn't understand anything in the video, what is happening? was there any more prerequisites that I am missing out on?
    I do not understand the use case of Token and then hashing random value via bcryptjs why is that?
    i have a lot of questions where can I ask them ?

    • @akashdeepwadhwa5828
      @akashdeepwadhwa5828 Місяць тому

      PREREQUISTES :react js transcript , and follow hitesh sir next js series ..now for your question about hashing and bcrypts
      imagine you are announcing password as simple text in public versus you annnouncing your password as another language nobody understand except you can understand . bcryptjs uses encryption which is way to hide your persnal or sensitive info in secure way and

  • @rovu7260
    @rovu7260 3 місяці тому +1

    Awesome! thank you!

  • @abdussamad0348
    @abdussamad0348 Рік тому

    Really helpful, Hitesh sir = Super saiyyan

  • @rajeevkumar-lx2zj
    @rajeevkumar-lx2zj 28 днів тому

    implemented the forgot-password functionality.

  • @motivationalhub594
    @motivationalhub594 Рік тому

    Love from uttarakhand haridwar ❤

  • @KaranChauhan-fu6dy
    @KaranChauhan-fu6dy Рік тому +2

    Please extend it

  • @atul5033
    @atul5033 Рік тому

    Thank you so much sir ( you are working so much hard for us )

  • @NOT_TON_Fan
    @NOT_TON_Fan Рік тому +2

    Please extend it!

  • @digantakrdas8258
    @digantakrdas8258 Рік тому +1

    Please cover "Refresh Token" topic

  • @ayukalvieri3154
    @ayukalvieri3154 11 місяців тому

    I have faced lot of difficulty while trying to do Gmail part of it and not mailtrap. Anyone could please help out here

  • @asmanali4563
    @asmanali4563 Рік тому

    Bro May Allah bless you witu lot of knowledge 🙏

  • @aakashjyoti8605
    @aakashjyoti8605 Рік тому

    thank you so much for the course

  • @kartikrajput2131
    @kartikrajput2131 Рік тому

    Thank you for your next series

  • @kamalyogi915
    @kamalyogi915 Рік тому +1

    Added the forgot password functionality and toast notf.

    • @wahajrana2161
      @wahajrana2161 Рік тому

      Can you please share your repo link of forget password functionality

  • @RicardoSilva-hk2er
    @RicardoSilva-hk2er Рік тому

    Will do testing in nestJS with authentication and session? Struggling with that…

  • @kartikrajput2131
    @kartikrajput2131 Рік тому

    Oauth bhi add kar do playlist me to sone pe suhaga

  • @amarjyotipatra2705
    @amarjyotipatra2705 Рік тому

    Plz make a more complex nextjs project 🎉

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

    sure

  • @muhammadbilalmalik7292
    @muhammadbilalmalik7292 Рік тому

    Hitesh Choozy Nice!!

  • @chitvangarg9684
    @chitvangarg9684 11 місяців тому

    Getting below error :
    ./node_modules/nodemailer/lib/dkim/index.js:10:0
    Module not found: Can't resolve 'fs'
    Please help.

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

      Hey, node or nodemailer and in this case the mailer.js can't work on client side. The mailer.js works on the server side and thats why you have to fetch the mailer.js in your "use client" component like so:
      const registeredUser = await res.json();
      try {
      const response = await fetch("/api/user/mailer", {
      method: "POST",
      headers: {
      "Content-Type": "application/json",
      },
      body: JSON.stringify({
      email: registeredUser.email,
      emailType: "VERIFY",
      userId: registeredUser._id,
      }),
      });
      after the changes the: Module not found: Can't resolve ... errors will be gone.

  • @malikbhai2285
    @malikbhai2285 Рік тому

    Sir AGER AP Urdu YA Hindi Janette HY to Hindi me bi video's bana dete or easy ho JATTAA

  • @icoderdev
    @icoderdev Рік тому

  • @user-oz5qu2wj7o
    @user-oz5qu2wj7o Рік тому

    First view...

  • @umerejaz5837
    @umerejaz5837 19 днів тому

    .

  • @rahulshrestha1384
    @rahulshrestha1384 Рік тому +2

    Please extend it

  • @rahulshrestha1384
    @rahulshrestha1384 Рік тому +2

    Please extend it ❤

  • @yosipipi
    @yosipipi 11 місяців тому

    Great, thank you!