Learn auth in NextJS in 1 video

  Рет қаралды 35,407

Chai aur Code

Chai aur Code

Күн бұрын

Пікірлер: 447
@prigo333
@prigo333 8 ай бұрын
best series...without watching i am commenting here..because those who are regular on your channel...they agree with me that we can comment best series or indepth series without watching..because this channel run on trust and indepth content not on hype...🥰🙃🙂
@RajuKumarPal-pz1us
@RajuKumarPal-pz1us Ай бұрын
mja aagya
@varunkapoor662
@varunkapoor662 5 ай бұрын
00:02 Introduction to NextJS projects and learning process 01:56 Learn authentication concepts for NextJS 06:01 Key points on email verification and processing 07:50 Authentication in sign up login process 11:55 Setting up folder structure and directory for NextJS project 13:54 Naming conventions and directory structure in NextJS 17:57 Setting up authentication in NextJS 19:40 Start with modeling data in the back end 23:18 Understanding field properties in NextJS auth setup 25:03 Setting up authentication and user verification in NextJS 29:01 Learn how to handle token verification and expiration in NextJS. 30:49 Token verification process and password reset mechanism 34:19 Setting up authentication and user model in NextJS 36:00 Understanding database connection in NextJS 39:53 Handling environment variables and conditional variable creation in NextJS 41:35 Learn about event handling and callbacks in NextJS 45:21 Setting up and using Node mailer 47:24 Sending emails using Node Mailer in NextJS 51:18 Using await to handle asynchronous code in NextJS 53:10 Fixing the module declaration issue in Node Mailer 56:42 Connecting to the database in NextJS for sign up and login 59:09 Learn about server components in NextJS 1:02:46 Handling data and error in NextJS 1:04:25 Implementing user authentication and validation in NextJS. 1:08:42 Explaining the process of generating hash passwords using custom salt in NextJS. 1:10:47 Learn how to authenticate users in NextJS efficiently 1:15:40 Verify and update user information using token in NextJS 1:17:31 Tips for handling user authentication with hashing in NextJS 1:21:16 Setting up email box using free APIs in NextJS 1:23:25 Learn how to handle authentication steps in NextJS. 1:27:17 Issue with user name in the request body 1:29:02 Focus on user login route creation and backend setup 1:32:48 Introduction to testing and using Postman for API testing 1:34:29 Setting up API authentication and requests in Postman 1:37:44 Sending and handling email in NextJS auth. 1:39:37 URL encoding is crucial for handling spaces and special characters in URLs 1:43:09 User verification process 1:44:56 Export a method for handling POST requests 1:48:41 Implementing authentication logic in NextJS 1:50:30 Focus on verifying user input fields for authentication 1:54:54 Checking and validating user credentials with Bcrypt JS 1:56:57 Create JWT tokens with JSON Web Token library 2:01:27 Setting authentication tokens and cookies in NextJS 2:03:36 Handling token secret and environment variables in NextJS authentication 2:07:43 Authentication and token handling in NextJS 2:09:59 Completion of back-end setup and tasks in the video. 2:13:44 Implementing authorization in NextJS 2:15:53 Handling try-catch and accessing cookies in authentication process 2:19:32 Decode token ID to access data securely 2:21:35 Summary of implementing authentication in NextJS 2:25:18 Learn how to add environment variables in Postman. 2:27:09 Setting up environment variables and authentication in NextJS 2:31:08 Handling invalid tokens and debugging the issue 2:33:02 Debugging and resolving issues with user ID and hash token in the authentication process. 2:36:25 Verification process and bug fixing through email authentication 2:38:02 Learn how to handle authentication and user login functionality in NextJS 2:41:58 Focus on API connection and testing in NextJS 2:43:42 Setting up authentication and creating multiple pages in NextJS. 2:47:28 Setting up user signup functionality with form handling in NextJS. 2:49:26 Handling user authentication and errors in NextJS 2:53:04 Handling sign up success responses in NextJS 2:54:55 Understanding user state changes and use effect in NextJS 2:58:48 Introducing authentication process in NextJS 3:01:08 Deconstructing and modifying state properties in NextJS 3:04:47 Learn authentication process in NextJS with user verification. 3:07:05 Managing tokens and user verification in NextJS backend 3:11:23 Managing tokens and URLs in NextJS 3:13:19 Learn how to utilize NextJS for authentication. 3:17:12 Adding authentication in NextJS using JavaScript 3:19:11 Handling errors and verification in NextJS 3:24:40 Learn authentication in NextJS
@AshfaqAhmad-sw4vj
@AshfaqAhmad-sw4vj 2 ай бұрын
Excellent Job bro
@AmmarAmin-p5y
@AmmarAmin-p5y 2 ай бұрын
Konsa AI use Kiya bhai timestamps generate krne me ?
@shibaprassadsahoo8811
@shibaprassadsahoo8811 7 ай бұрын
Haan ji! Apka presentation Super se Upper........ Hum Bhubaneswar, Odisha se hai. Thank you 🍵 aur
@gagagamer1411
@gagagamer1411 5 ай бұрын
Just completed your first Nextjs Aceternity UI project and now starting with your auth in NextJS series thanx a lot Sir for this great content your one of the best yt teacher on both hindi and english content . thank for your great contribution sir🥰👌
@sufyanahmad99
@sufyanahmad99 8 ай бұрын
best series...without watching i am commenting here..because those who are regular on your channel...they agree with me that we can comment best series or indepth series without watching..because this channel run on trust and indepth content not on hype...
@SalmanKhan-mn3cn
@SalmanKhan-mn3cn 7 ай бұрын
this is the best series of next js authentication in youtube
@sanamirza9439
@sanamirza9439 7 ай бұрын
City : Delhi Date: 4/5/2024 Time: 5:22 pm Thank you much for the efforts you do for your students........ One more thing i wanna highlight best of your teaching when you take us through your debugging part I just can't tell the satisfaction and happiness while seeing that I feel so good to call me your one of student.....
@Vicky_ch01
@Vicky_ch01 2 ай бұрын
city : Chandigarh state : Chandigarh date : 1/oct/2024 thanks for giving time for your lovely students sir ... itni der raat tak video bna ne ke liye bohot bohot shukriya sir or kabhi na kabhi milunga sir aapse chai ki chuski ke saat ...
@CodewithRakibOfficial
@CodewithRakibOfficial 7 ай бұрын
Sir I am from chittagong,Bangladesh. I completed your html , backend and this series. your explanation is just amazing
@tejas5682
@tejas5682 8 ай бұрын
Just completed your Chai and Backend series. It was amazing. Thanks a lot Sir.
@DjangoDeveloper-l7v
@DjangoDeveloper-l7v 8 ай бұрын
from your last next.js series . i'm able to understand how nextjs work. Thank you
@divyanshrawat2859
@divyanshrawat2859 8 ай бұрын
best teacher on youtube ,love your content sir
@nitinkumarverma2430
@nitinkumarverma2430 7 ай бұрын
I was waiting for this video from last 3 three months thankyou much sir, I am commenting at the start of the video ❤
@denilbhatt1005
@denilbhatt1005 7 ай бұрын
Hello sir, Watching from Gandhinagar, Gujarat. (9/4/24) Excited for the Third Project 😄
@zahinhosen6579
@zahinhosen6579 Ай бұрын
1:19:45 im not good at explaining stuff but let me try by default javascript and it's related tools take time in milliseconds so here 3600000 is actually the amount of milliseconds we are adding to out current time, which converts to 1 hour. so in short the answer of the question is 3600000 means 1 hour.
@abdur786_
@abdur786_ 7 ай бұрын
Thank you for your completing nextjs 2 project.... waiting for nextjs 3rd project
@MeerUzairWasHere
@MeerUzairWasHere 8 ай бұрын
Great video! Just wanted to add one thing: we're not checking if the user is verified on the login route, so after creating an account, we can still log in, potentially leading to spam attacks. In the login route, we should also check for the "isVerified" property on the user. I have made a pull request on your repository, please review it.
@whatthehell8397
@whatthehell8397 6 ай бұрын
Hanji, toh kaise hai aap sbhi? Completed the whole video. Great & In-depth learning Series on Nextjs. Must Watch 🔥🔥 I'm from Ghaziabad, U.P. Completion Date: 16 May 2024
@princepal8523
@princepal8523 7 ай бұрын
best channel and all this things from structed way , from start to end ❤❤
@anjalitiwari2896
@anjalitiwari2896 7 ай бұрын
ummmm.....ye complete krke laga achha to hai nextjs, btw thankyour sir for giving this most interesting and understandable video.
@alnoman7993
@alnoman7993 6 ай бұрын
Backend test 2:23:31 frontend 2:41:33 middleware 3:45:53
@mohtasham1
@mohtasham1 8 ай бұрын
most awaited !!, thanks sir your are the best teacher , the best hindi speaker for us .
@eshmalniazi6164
@eshmalniazi6164 7 ай бұрын
Commenting because the target is not achieved yet and this video deserves millions of comments and likes thank you for providing education
@parikshitgupta343
@parikshitgupta343 8 ай бұрын
Love learning from you, especially when you speak in Hindi ❤❤
@musafirbaltistani63
@musafirbaltistani63 29 күн бұрын
karachi pakistan 1st november 2024 thank you so much sir for going in such depth.
@nandinir2390
@nandinir2390 7 ай бұрын
freshers who are struggling to learn it is the best video
@solankiom7565
@solankiom7565 7 ай бұрын
Please be motivated sir I understand sometimes we are not able to meet your target but There are few people watching who really love your videos and get really world applicable knowledge so please be a bit more motivated!!! One day you will be the next Computer Wallah!!! We Love Your Videos🙌🏻❣
@RG_official.
@RG_official. 6 ай бұрын
Watching after the first series with next js and aceternity ui feeling confedent about next js thank you sir ji 🥰
@muzzrayyan1290
@muzzrayyan1290 7 ай бұрын
Coming from the freecodeCamp series, And Damn This is Goldddddddddd
@riteshbisht94
@riteshbisht94 7 ай бұрын
Best video 🎉 thanks for such an amazing content
@jmphotography6845
@jmphotography6845 8 ай бұрын
Janisar from karachi Pakistan love chai aur code sir Hitesh
@JustDoItForNow
@JustDoItForNow 8 ай бұрын
Really
@Rishi-si8sl
@Rishi-si8sl 7 ай бұрын
Best series so far in KZbin!
@kannenagaamaresh12
@kannenagaamaresh12 9 күн бұрын
Great content let's make it 1000 guys
@Rafian1924
@Rafian1924 7 ай бұрын
Although I am a cloud data architect however, I love web dev..❤❤
@abgaming7916
@abgaming7916 6 ай бұрын
Abubakar from "Faisalabad, Punjab, Pakistan" Date: 10/May/2024 Thank you so much for uploading such fantastic courses. It helped me a lot to move towards my career. Again Thanks a lot.
@kashish3871
@kashish3871 8 ай бұрын
Here to appreciate your efforts sir
@chaiaurcode
@chaiaurcode 8 ай бұрын
So nice of you
@kashish3871
@kashish3871 8 ай бұрын
@@chaiaurcode sir your regular viewer started with your python series
@priyadarshi5730
@priyadarshi5730 7 ай бұрын
Loads of Love for making such beautiful content❣❣❣
@tanvirhossain9781
@tanvirhossain9781 7 ай бұрын
I'm from bangladesh, finishing this video from last 3 days, 9/4/24
@pankajthakur-zd5wl
@pankajthakur-zd5wl 7 ай бұрын
You way of teaching is amazing 😍🎉
@kashifgaming8122
@kashifgaming8122 8 ай бұрын
Sir itna kaam kaisey kar letey hoo aap. Ek time management pe bhi video baana hi dijiye. Thank you sir itnii sari coding knowledge ka.❤
@shrikantgaikwad1250
@shrikantgaikwad1250 8 ай бұрын
Aceternity UI 🔥🔥🔥... Thank you sir after shadcn this ui library now fav❤😁
@vikasvarma9462
@vikasvarma9462 7 ай бұрын
3:22:35 button se click karke verify karane par koi error ni aayega 😊
@shiveshnandan4427
@shiveshnandan4427 5 ай бұрын
one of the best nextjs series
@dnyaneshwarmunjankar719
@dnyaneshwarmunjankar719 8 ай бұрын
You are just Amazing I really thanks for your backend series
@decodingdesign07
@decodingdesign07 8 ай бұрын
Chai aur code ☕ always best ❤, thankyou sir
@vikasvarma9462
@vikasvarma9462 7 ай бұрын
3:27:57 city bilaspur state: chhattisgarh date 10 april 2024 time 3: 44 hindu new year ke dusre din 😊
@m.waseem6616
@m.waseem6616 7 ай бұрын
I want you to teach us that ====>>> when a user want to upload profile image then using the AWS S3 service, we will get the link from that will display it on the page and also will save it to the database as well.....
@Maniish.pandey
@Maniish.pandey 8 ай бұрын
Backend ke baad next js shuru krege 💪🔥
@abgaming7916
@abgaming7916 7 ай бұрын
best super duper course. it helped me alot thank a lot to u
@sheraz_razzaq
@sheraz_razzaq 8 ай бұрын
Thank you Hitesh Sir. Love from Pakistan ❣
@hafizmuhammadahmadfareed
@hafizmuhammadahmadfareed 8 ай бұрын
hello from Pakistan, 1st live session Sir.
@sarangavadiya7087
@sarangavadiya7087 7 ай бұрын
case where users have the option to authenticate using either Google or email/password, and both methods have the same credentials
@RandomRaju-zb8vf
@RandomRaju-zb8vf 8 ай бұрын
DSA in JS please Sir 🙏🙏🙏🙏🙏 I am so much afraid of DSA and your way of teaching is very good as i am currently Full Stack web developer in Startup company because of your way of explanation.... Please sir bring DSA in Js 🙏🙏🙏🙏
@archanathakur5946
@archanathakur5946 8 ай бұрын
Thank you sir for providing such wonderful stuff with us☺
@shayanalioffcial5771
@shayanalioffcial5771 7 ай бұрын
Complete nahe howa 1k comment panchwa din he Love from pakistan❤❤❤
@nandkishorechhimpa2939
@nandkishorechhimpa2939 8 ай бұрын
Thank you so much Hitesh for series
@_Yash__deshmukh
@_Yash__deshmukh 7 ай бұрын
You are most qualitative on the youtube
@naveen9882
@naveen9882 7 ай бұрын
great work Hitesh keep it up 👍👍
@13_AbhishekKumarVerma
@13_AbhishekKumarVerma 8 ай бұрын
Thank you sir, for providing such amazing content for us...❤❤
@SalmanKhan-mn3cn
@SalmanKhan-mn3cn 7 ай бұрын
i am from pakistan peshawar , and watch at from 3 days carefully , and now the time is 10:57am 14/4/2024
@happylearning_today
@happylearning_today 7 ай бұрын
hello sir you're the best lots of love
@saifshamil4690
@saifshamil4690 8 ай бұрын
Great sir thanks Love from pak
@ballagtech7430
@ballagtech7430 6 ай бұрын
Video ke last tak aa gya hu to target pura krna hi padega 😊😊 City name: Patna , State: Bihar ,Date: 09/05/2024
@Shubhankar-vf8zx
@Shubhankar-vf8zx 7 ай бұрын
karwa denge sir comments ka taarget reach....
@SuhailAlvi-n9d
@SuhailAlvi-n9d 8 ай бұрын
Need More Projects ..... on NextJs Or react Also with amazing UI
@krishdesai-hh5cl
@krishdesai-hh5cl 8 ай бұрын
best series on youtube
@dsah264
@dsah264 7 ай бұрын
Thank you sir, for creating the best series on nextjs. production grade code and way to read the documentation is two of many things I get to understand from you and the development tools available.
@abhisheknaik1359
@abhisheknaik1359 7 ай бұрын
Thank you. Is there a English video for the same?
@sohagbandyopadhyay6866
@sohagbandyopadhyay6866 8 ай бұрын
Best tutorial. Thank you so much sir.
@Prototype.abdullah
@Prototype.abdullah 8 ай бұрын
hum Thanks i will integrate this project in my project
@tejaskumar6056
@tejaskumar6056 3 ай бұрын
City : Bhagalpur(Bihar) Date: 29/8/2024 Time: 1:22 pm Thanks for the amazing content! It’s been really helpful.
@BLACKDREAMIO
@BLACKDREAMIO 7 ай бұрын
damm i didnt notice it was 8 hours long man thought it was only 2 hours anyways since idk next auth yet and i have to inplement it on my current project so it will be worth it to watch 2x speed of course
@Sounak_Hazra
@Sounak_Hazra 4 ай бұрын
best explanations ever ....
@adarshsahu3207
@adarshsahu3207 8 ай бұрын
I am enjoying to learn dev in Hindi
@HarshDoes
@HarshDoes 6 ай бұрын
Will be back here after 15 days!
@adithyapuranam2619
@adithyapuranam2619 7 ай бұрын
Eagerly waiting sir for this thank you so much
@satwikgupta5574
@satwikgupta5574 5 ай бұрын
{ 'state': "Uttar Pradesh", 'city': "Varanasi", 'date': "16/06/2024" }
@trophy_seekers
@trophy_seekers 7 ай бұрын
Sir your videos always helpful for us
@technicalpandey6015
@technicalpandey6015 4 ай бұрын
Phle sikhate the but aajkal to internship kuch alg hi hai 😢😢 Sikhate ni gisate hai kaam niklvate hai or fr bhaga dete hai mostly excuse dete hai financial problem hai.😢😢😢
@alnoman7993
@alnoman7993 6 ай бұрын
database is on another continent😄💕💕
@ashutoshsingh-kr6zv
@ashutoshsingh-kr6zv 8 ай бұрын
Thanks u sir will u please make a project using nextJs and strapi with every thing auth and refresh token
@NattyTrader
@NattyTrader 7 ай бұрын
4hr of authentication is Insane!
@13_AbhishekKumarVerma
@13_AbhishekKumarVerma 8 ай бұрын
Sir please make a DSA series specially for new developers
@RohitSingh-fc4wz
@RohitSingh-fc4wz 8 ай бұрын
i hope next live i can attend sir as i am just near to complete java script
@souvikkarmakar9646
@souvikkarmakar9646 8 ай бұрын
thank you sir, from west bangal..
@aman_sharma_as_
@aman_sharma_as_ 8 ай бұрын
Finally, It is started.
@Piyush-xv1bb
@Piyush-xv1bb 8 ай бұрын
The Thumbnail Looks Nice 😂😂
@atifahmad6457
@atifahmad6457 8 ай бұрын
Good teaching method sir.
@zvgi9354
@zvgi9354 6 ай бұрын
Thanks for these kinds of videos
@AzadKumar-zi5lm
@AzadKumar-zi5lm 8 ай бұрын
Sir when will you use prisma 🎉
@devx_ilyas
@devx_ilyas 8 ай бұрын
i work in a sales job .i have graduated from bca 3 years ago.but due to some heavy financial issue i started working in sales during studies and lost interest in studies.from that time i am working in sales. now i want to switch in it.and my intrest is in full stack developer.i am 24 years ildis this a good time and age to switch?
@skzahirulislam2820
@skzahirulislam2820 8 ай бұрын
Yes
@aagebadhee
@aagebadhee 8 ай бұрын
I think you know about McDonald's founder
@tanujkumar9127
@tanujkumar9127 Ай бұрын
Yes, you can easily switch to full stack developer if we think we can switch anywhere
@SalmanKhan-mn3cn
@SalmanKhan-mn3cn 7 ай бұрын
love you great hitesh sir
@AmitKumar-xw4mo
@AmitKumar-xw4mo 7 ай бұрын
Great Video sir 👏
@TechnoFacts03
@TechnoFacts03 7 ай бұрын
Radhey Radhey Ji 🙏🙏🙏
@abhisheksharmame
@abhisheksharmame 6 ай бұрын
2:35:00 Sirji, mera bina $set likhe hi email verify ho gya tha, ye kaise, kahi naya update to nhi hai
@bytebreaks
@bytebreaks 8 ай бұрын
bhaiya apka 2 react full course dekh ke job lag gyi 6.4 lpa . thank you much
@nehalpradhan2229
@nehalpradhan2229 8 ай бұрын
bhai saw this comment, hitesh sir has shared in twitter, please tell job kaise lag gayi?? how was resume? where did you applied? kitne projects kiye? DSA required? how hard was interview? what questions? resources to prepare? was hitesh sir's video enough?
@DineshYadav-mj5pm
@DineshYadav-mj5pm 8 ай бұрын
Bolo bhai
@TrainedFresher
@TrainedFresher 8 ай бұрын
Bro ,bolo kuch inhone Jo pucha
@bytebreaks
@bytebreaks 8 ай бұрын
Internshala se apply kiya tha. Pehele shortlist hua. Next assignment mila tha wo kar diya next interview bhi clear kar diya. DSA nahi tha lekin ek js problem aya tha array ka .(react )
@nehalpradhan2229
@nehalpradhan2229 8 ай бұрын
@@bytebreaks shortlist hone ke liye resume and projects has to be good right?? how was yours? number of projects? and which was your preparation resource?
@The_AI_GUY_Abhi
@The_AI_GUY_Abhi 7 ай бұрын
👍👍great work sir
@movieskabandar9386
@movieskabandar9386 8 ай бұрын
You are working hard sir ,then why should I will not do😊
@anubhavseet004
@anubhavseet004 6 ай бұрын
Thank you Bhaya for the video
@sundramstark
@sundramstark 7 ай бұрын
sir mujhe ye errror aa rha hai => Critical dependency: require function is used in a way in which dependencies cannot be statically extracted ise kaise fix karoon
Learn NextJS with Aceternity UI library by building a project
3:22:19
Chai aur Code
Рет қаралды 60 М.
Shadcn Crash course with Next JS
47:35
Chai aur Code
Рет қаралды 74 М.
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 11 МЛН
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
How many people are in the changing room? #devil #lilith #funny #shorts
00:39
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 31 МЛН
Web Development Roadmap 2025 with GenAI
19:21
Chai aur Code
Рет қаралды 62 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 265 М.
Complete git and Github course in Hindi
2:54:56
Chai aur Code
Рет қаралды 332 М.
NextJS 15 just got rolled out for Production 🤔
19:16
Hitesh Choudhary
Рет қаралды 27 М.
Don't Use Websockets (Until You Try This…)
6:46
Code With Ryan
Рет қаралды 322 М.
PROOF JavaScript is a Multi-Threaded language
8:21
Beyond Fireship
Рет қаралды 290 М.
Crash course on Next Auth or Authjs
1:11:53
Chai aur Code
Рет қаралды 54 М.
Complete Typescript in under 5 hours
4:46:08
Hitesh Choudhary
Рет қаралды 148 М.
I tried 8 different Postgres ORMs
9:46
Beyond Fireship
Рет қаралды 438 М.
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 11 МЛН