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... - Наука та технологія
Just completed this series and absolutely loved it. Excellent work Hitesh, please never stop teaching❤
Thanks Sir for Providing this level of Quality Content on UA-cam 🙇🙏🙏
This next series are really awesome and help full. Thank you for the awesome series @Hitesh
This is the course that I was searching in the web for like weeks. Thanks for your time and knowledge you shared with us.
Wow i thought per day one video , but this speed and quality of content really amazing man.... Bow for your dedication and Hard work
Thank you so much 😀
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
Please extend it ❤
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
I feel sad that this series ended. Wish it could get some more episodes.
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....???
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 ?
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
Awesome! thank you!
Really helpful, Hitesh sir = Super saiyyan
implemented the forgot-password functionality.
Love from uttarakhand haridwar ❤
Please extend it
Thank you so much sir ( you are working so much hard for us )
Please extend it!
Please cover "Refresh Token" topic
I have faced lot of difficulty while trying to do Gmail part of it and not mailtrap. Anyone could please help out here
Bro May Allah bless you witu lot of knowledge 🙏
thank you so much for the course
Thank you for your next series
Added the forgot password functionality and toast notf.
Can you please share your repo link of forget password functionality
Will do testing in nestJS with authentication and session? Struggling with that…
Oauth bhi add kar do playlist me to sone pe suhaga
Plz make a more complex nextjs project 🎉
sure
Hitesh Choozy Nice!!
Getting below error :
./node_modules/nodemailer/lib/dkim/index.js:10:0
Module not found: Can't resolve 'fs'
Please help.
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.
Sir AGER AP Urdu YA Hindi Janette HY to Hindi me bi video's bana dete or easy ho JATTAA
❤
First view...
.
Please extend it
Please extend it ❤
Great, thank you!