Login and Registration using MERN Stack | Mongo, Express, React and Node Authentication

  Рет қаралды 165,832

Code With Yousaf

Code With Yousaf

Күн бұрын

#mernstack #login #registrationform
Lets build Login and Registration with MERN (MongoDB, Express, React, Node). This login and sign up system is made with react and mongo database. We used react for front-end and node for backend also, the mongo database. This is complete Authentication system with MERN.
how to do login and register authentication in react node js
TimeStamp:
00:00 Demo of Authentication
01:26 Create React app and Node App
04:43 Sign Up Form Design
06:23 React Router Dom for Routing
10:30 Store Register Values in Variables
13:25 MongoDB
14:24 Start Server Side Code
17:00 Register API code in server side
22:58 Design of Login Form
23:45 Login API code in server side

Пікірлер: 171
@akashchilgar3737
@akashchilgar3737 11 ай бұрын
Thank you bro, this is really very helpful for beginners ❤🎉
@rohith3261
@rohith3261 11 ай бұрын
Bro believe me You're doing a great job for beginners like us by creating these simple apps using MERN thank you!!!!!
@aristrogaming2023
@aristrogaming2023 11 ай бұрын
Hi bro have you did this project, i need a source code of it
@starthorn1773
@starthorn1773 6 ай бұрын
Yes you are right
@pieface4955
@pieface4955 9 ай бұрын
This helped so much and was very clear, thanks
@DeveloperAchuchi
@DeveloperAchuchi 5 ай бұрын
Great work brother keep it up. This is the next big Channel
@user-jz5vh7sl1d
@user-jz5vh7sl1d 4 ай бұрын
Thank you! Everything is worked as you guided!
@ridwanatolagbe3279
@ridwanatolagbe3279 7 ай бұрын
Thank you very much bro. The tutorial was so resourceful.
@rohanbiswas8487
@rohanbiswas8487 10 ай бұрын
first ever video that i watched and coded perfectly without facing any extreme issues or errors. thanks a lot. it worked perfectly. SUBSCRIBED
@sulphatetife8600
@sulphatetife8600 6 ай бұрын
How did you get the signup.jsx source code ??
@KartikSharma-mv8vi
@KartikSharma-mv8vi 6 ай бұрын
hey can you please share me the source code , i am unable to navigate to home.js even after success message in console
@vishwamshah4509
@vishwamshah4509 2 ай бұрын
@@KartikSharma-mv8vi same problem how did u solve it please tell me thanks
@user-ig7wv9pg9e
@user-ig7wv9pg9e 5 ай бұрын
literally the simplest video of authentication by mongo db, hats of to you sir 😌😌
@happy_vlogs_sk
@happy_vlogs_sk 4 ай бұрын
Hi can you help me, If i try to do npm init vite it default take the project name like vite-project i can't able to change into client. There is no issues with the name of vite-project
@chhavigupta3581
@chhavigupta3581 Ай бұрын
​@@happy_vlogs_sk just start typing your project name over it bc the cursor won't actually work over it
@deepakyadavYT
@deepakyadavYT 4 күн бұрын
Thank you brother for this video. It helped me very much !
@nazranbibi
@nazranbibi 9 ай бұрын
Thank you so much 😊 for making so easy. You are amazing 😊
@wardahshahid2758
@wardahshahid2758 Ай бұрын
Thankyou Youasf, the project is very helpful for beginers.
@deshanbandara4985
@deshanbandara4985 8 ай бұрын
um a begginer this really help full to me brother thank you!
@Nord-iq
@Nord-iq 7 ай бұрын
اخيرا شرح براسة حظ تعبت واني ادور هيج شرح يااخي شكرا
@djiddiadoum2357
@djiddiadoum2357 9 ай бұрын
Hi bro thanks for your help and we appreciate a lof. we learned much from these videos
@SLCricketPissa
@SLCricketPissa 6 ай бұрын
Thank you .This is very helpful video furthermore interesting for coders
@rishabhsrivastava722
@rishabhsrivastava722 9 ай бұрын
Thankyou so much bhai please make videos like this It was my first mern project and I am very happy again thankyou bro
@amanemisa2600
@amanemisa2600 2 ай бұрын
this is very helpful and direct to the point, thank you very much
@rockyalex8377
@rockyalex8377 7 ай бұрын
thank you so much.. this is exactly what i need as a beginner
@parth6661
@parth6661 28 күн бұрын
very good video for understanding the basics behind the login signup in MERN STACK. Thanksss bro.. You helped much for my project
@thakurmohansingh-bv6ff
@thakurmohansingh-bv6ff 4 ай бұрын
Thank you so much for this amazing video🎉.. bcz you keep in mind like as a student visualisation...
@VishalYadav-gk1kg
@VishalYadav-gk1kg 23 күн бұрын
Very nice explanation sir, Thank you!
@user-ld5cw8ob5k
@user-ld5cw8ob5k 6 ай бұрын
really beginner friendly, thanks
@abdellah-2498
@abdellah-2498 6 ай бұрын
Thank you so much duuuude, you really helped me !!
@alishashaik7159
@alishashaik7159 5 ай бұрын
Thank you so much sir,u helped alot.🤗
@user-ub3kk4bt4d
@user-ub3kk4bt4d 9 ай бұрын
Thank you bro this is very helpful.
@_sf_editz1870
@_sf_editz1870 7 ай бұрын
Super helpful for beginners ❤
@sukantabiswas3765
@sukantabiswas3765 9 ай бұрын
Bro is too good. Thank u so much.🙏
@DHANASEKARD-yc5lq
@DHANASEKARD-yc5lq Күн бұрын
Worth bro works fine
@Praveen-pg6zb
@Praveen-pg6zb 8 ай бұрын
Thank you bro, really great 🎉
@muhammadzawar1741
@muhammadzawar1741 2 ай бұрын
very great tutorial teach in a simple way
@UECSoumyaRay
@UECSoumyaRay 9 ай бұрын
I must say, I am really impressed. This is exactly what I needed as a beginner. I will definitely recommend it to my noob friends like Ashutosh. BTW, if u r seeing this Ashutosh, do like this comment.
@atharvalakhamade2126
@atharvalakhamade2126 3 ай бұрын
Ashutosh ko q toda
@TradingLines-uj7ds
@TradingLines-uj7ds Ай бұрын
thank you for this vidio and plz add logout logic as well
@Burov96
@Burov96 6 ай бұрын
I am wondering why you did all that locally? I was looking to do it all on Mongoose online and live.
@user-mb6ho6rl9x
@user-mb6ho6rl9x 3 ай бұрын
crisp and clear
@elhamyadira
@elhamyadira 7 ай бұрын
Thank you soooooooooooo much. This worked.🥰
@selvapandi1362
@selvapandi1362 5 ай бұрын
thankyou bro, it's worked for me bro, keep it up bro
@PriyaYadav-wi7ri
@PriyaYadav-wi7ri 2 ай бұрын
yrr mera code run nhi ho raha ek baar aap check krloge error bhi show nhi ho raha hai koi
@lecturerrobel
@lecturerrobel 2 ай бұрын
what amazing tutorial !
@DanielAlves-im1np
@DanielAlves-im1np 7 ай бұрын
Hello, Yousaf! You have a great channel, thanks a lot! I have frontend html+css+js file that I want to link to backend Java files, but this method uses jsx, can you please help me? It is really important for me
@dhananjaybramhane835
@dhananjaybramhane835 Ай бұрын
Sir Apne MERN fullstack Development kaise Shikha ??? Apaka kay mindset our Rodmap tha???
@BANDLAHYNDAVIBCE
@BANDLAHYNDAVIBCE 6 ай бұрын
unable to see the created table in atlas and data was shown [] like this
@ferreiradelima96
@ferreiradelima96 Ай бұрын
Excellent tutorial.
@GauravPatel-ly4ul
@GauravPatel-ly4ul 8 ай бұрын
how we can add about us page after home i'm trying but giving children parents error .i dont want to open it direct without login
@memesnow1324
@memesnow1324 10 ай бұрын
i learned alot from this video Thank you ❤
@gnanu3530
@gnanu3530 9 ай бұрын
i need a source code of it
@aghilesouaras3842
@aghilesouaras3842 Ай бұрын
@@gnanu3530 Did you get it ?
@muhammadafnan_8819
@muhammadafnan_8819 7 ай бұрын
your teaching method is very unique plz also bring full mern stack project tutorial like job portal,ecommerce,LMS etc it will be very benefit for us thank you
@codewithyousaf
@codewithyousaf 7 ай бұрын
Thank you, bro, I am working on a small e-commerce project. Next Week inshallah
@shobithps4258
@shobithps4258 6 ай бұрын
thank you very much :)
@relaxingtime2411
@relaxingtime2411 4 ай бұрын
Good Explanation ♥♥
@ruki4969
@ruki4969 6 ай бұрын
god bless u, u saved my days
@Usmankhan-yr3dl
@Usmankhan-yr3dl 8 ай бұрын
Brother I am a beginner in this field What should I learn first before watching this video ?
@devsavvy9
@devsavvy9 5 ай бұрын
Thank you very much❤❤
@veronicagitari1600
@veronicagitari1600 2 ай бұрын
I'm a beginner and I'm still stuck at the signup page My bootstrap i don't know why it has an error
@Soulof8d
@Soulof8d Ай бұрын
thank you bro :)
@user-iy6ml5qc3h
@user-iy6ml5qc3h 10 ай бұрын
awesome tut,
@emmanuelomozuafo2364
@emmanuelomozuafo2364 10 ай бұрын
How do we add error message if the input is incorrect.
@user-db4co7ih2d
@user-db4co7ih2d 4 ай бұрын
Thanks brother you are greate
@ashanisuru3820
@ashanisuru3820 7 ай бұрын
If i input correct password i got "incorrect password" to my console how could that possible and can you tell me how to fix
@pavankumarpulipati1838
@pavankumarpulipati1838 5 ай бұрын
Thank you bro,
@williamosullivan8366
@williamosullivan8366 7 ай бұрын
bro do you have the regulation signup code?
@tawoplays4722
@tawoplays4722 6 ай бұрын
Hello sir, uhmm can you try the mongodb atlas next? Cause i am having difficulties trying it on mongodb atlas using your code😅
@ritikkumarsharma9489
@ritikkumarsharma9489 9 ай бұрын
what is user in the at 25:07 at 17th line
@yuvaengineer
@yuvaengineer 4 ай бұрын
mashallah brother maza aa gaya
@mcgndb
@mcgndb 2 ай бұрын
your explanation is very good and simple .....i request you please provide source code
@alfaloverss3116
@alfaloverss3116 Ай бұрын
If i deploy my project so its work ???
@webv2755
@webv2755 3 ай бұрын
Thank You
@shwetaupadhyay432
@shwetaupadhyay432 4 ай бұрын
getting Warning: The tag is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter. i have updated my code still coming same warning. how can i resolve ? could you pleas help
@fosterasante3853
@fosterasante3853 3 ай бұрын
I think you were trying to write but you mistakenly wrote .
@Bharat-lz5lh
@Bharat-lz5lh 6 ай бұрын
Very nice
@kumarabhishek3890
@kumarabhishek3890 10 күн бұрын
where can i get the signup.jsx code please tell
@ahsanahsan1087
@ahsanahsan1087 9 ай бұрын
Great
@ezeldesilva2717
@ezeldesilva2717 2 ай бұрын
I tried to copy your code however employee was created in mongodb but collection data are not included prompting 500 internal server error...how to fix it?
@codewithyousaf
@codewithyousaf 2 ай бұрын
check adding a record API code
@ezeldesilva2717
@ezeldesilva2717 2 ай бұрын
Where can I check a record API code and what will I do...tnx
@Yardan_gholi
@Yardan_gholi 8 ай бұрын
thanks , but now how to retrieve data and show it to users base on the user that is loged in , like if it's a web app and each user has his own dashboard each user should see his own data , or if it's a blog , each user should see his own control panel and posts he made and be able to edit or delete them or make new one and there should not be a interference between users and their data retrieveing
@codewithyousaf
@codewithyousaf 7 ай бұрын
I have videos for role base management you can watch: 1: Employee management system in my channel 2: Blog app using MErn stack
@vedwagle1303
@vedwagle1303 3 ай бұрын
can you please provide the source code link of github
@nagaprakashnagu7596
@nagaprakashnagu7596 11 күн бұрын
I GOT axios NETWORK ERROR ? PLEASE GIVE SOLUTION i tried three more time
@uiteach123
@uiteach123 2 ай бұрын
I am using this mathod but cannot find data in user \
@06-bhaveshrathod40
@06-bhaveshrathod40 2 ай бұрын
getting errors Localhost refuse to connect i did everything same
@raheelshakeel2021
@raheelshakeel2021 6 ай бұрын
thanks
@pruthvieditz-hl4ws
@pruthvieditz-hl4ws 3 ай бұрын
Bro we need source code for signupform can you provide???
@sateeshmallapur
@sateeshmallapur 6 ай бұрын
how to run this project
@faizalam1893
@faizalam1893 9 ай бұрын
Well, do not inform the user that whether email/username or password is incorrect, just display Login Failed.
@-SIVANANTHAMD
@-SIVANANTHAMD 3 ай бұрын
respect++
@rajith17
@rajith17 Ай бұрын
Hi bro please give source code link i am practicing devops so automate it into deployment
@HariBabu-ll9zw
@HariBabu-ll9zw 2 күн бұрын
nice video bro can you provide the code or gitlink
@user-je4wt8st9g
@user-je4wt8st9g 2 ай бұрын
can someone please help me i got axios error
@kashishsharma4071
@kashishsharma4071 6 ай бұрын
Bro this code is not working
@Yonatan2479
@Yonatan2479 3 ай бұрын
where is the github source code????
@Mugss
@Mugss 6 ай бұрын
It will be great help if you can provide source code for this project bro
@Roozikhan565
@Roozikhan565 11 ай бұрын
❤🎉❤
@djiddiadoum2357
@djiddiadoum2357 9 ай бұрын
please i have a problem can someone assist me? why useState is underlined in red in my code?
@kaiserbluto
@kaiserbluto 4 ай бұрын
did u import it?
@bhupenderkumar9508
@bhupenderkumar9508 3 ай бұрын
but bruh how to secure the home page ?. i mean only that user can access the home page who has logged in .
@pujanvasania9757
@pujanvasania9757 3 ай бұрын
exactly.
@alfaloverss3116
@alfaloverss3116 Ай бұрын
i face the password is incorect erorr
@luisatejada6218
@luisatejada6218 2 ай бұрын
can you provide the source of code please?
@ashishdharmik8214
@ashishdharmik8214 7 ай бұрын
Where is source code man
@user-ol2bj3if4r
@user-ol2bj3if4r 3 ай бұрын
it's good explantion sir but id not get data it shoeing empty data { "_id": { "$oid": "65c9a6c0fdc2b71ce384a46c" }, "__v": 0 } just like that but how to solve issue here
@codewithyousaf
@codewithyousaf 3 ай бұрын
the database id name is like: (_id) use it when you deal with database
@hanxla_Nouman
@hanxla_Nouman 2 ай бұрын
Code?
@seemakumbhar8534
@seemakumbhar8534 10 ай бұрын
Where is source code
@rounakshahdeo7941
@rounakshahdeo7941 Ай бұрын
Don't Look for source code A Good programmer Create own self ❤👍🏻
@bsc.itstudent3582
@bsc.itstudent3582 2 ай бұрын
code kaha hai bhai please de do
@ajaykumark8817
@ajaykumark8817 4 ай бұрын
will you explain me how to host this website on any free website?
@codewithyousaf
@codewithyousaf 4 ай бұрын
Host on vercel
@dionisiominano7485
@dionisiominano7485 2 ай бұрын
how to hash the password?
@rachergaming4338
@rachergaming4338 27 күн бұрын
Can you share the source code plss
@meherwanmarella8028
@meherwanmarella8028 3 ай бұрын
Signup Code Please.
@user-eu3mk5uf6v
@user-eu3mk5uf6v 5 ай бұрын
bro i dont know how to run please could u help me with it
@codewithyousaf
@codewithyousaf 5 ай бұрын
what do you want to run?
@bodhisattabhattacharjee3338
@bodhisattabhattacharjee3338 9 ай бұрын
Regaring SERVER if u get error like: node:internal/modules/cjs/loader:1080 throw err;.....code: 'MODULE_NOT_FOUND',.... install these packages in /server npm install bcrypt npm install jsonwebtoken npm install cookie-parser then npm run start the server starts and no further issues
Hash and Compare Password with Bcrypt | MERN Stack Authentication
10:41
КАХА и Джин 2
00:36
К-Media
Рет қаралды 3,8 МЛН
it takes two to tango 💃🏻🕺🏻
00:18
Zach King
Рет қаралды 27 МЛН
ПЕЙ МОЛОКО КАК ФОКУСНИК
00:37
Masomka
Рет қаралды 10 МЛН
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Рет қаралды 142 МЛН
5.2-2 Bellman Ford Distance Vector Routing (updated)
21:56
JimKurose
Рет қаралды 62 М.
A Worlds First On This Top Tier Radio - TIDRadio H3
11:52
Tech Minds
Рет қаралды 12 М.
Understand Angular Signals in 20 Minutes
20:17
Igor Sedov
Рет қаралды 4,8 М.
15 crazy new JS framework features you don’t know yet
6:11
Fireship
Рет қаралды 275 М.
Store HTML Form Data to MongoDB
23:29
Patience Coder
Рет қаралды 2,2 М.
КАХА и Джин 2
00:36
К-Media
Рет қаралды 3,8 МЛН