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

Sdílet
Vložit
  • čas přidán 7. 07. 2024
  • #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

Komentáře • 176

  • @rohith3261
    @rohith3261 Před rokem +37

    Bro believe me You're doing a great job for beginners like us by creating these simple apps using MERN thank you!!!!!

  • @user-ig7wv9pg9e
    @user-ig7wv9pg9e Před 6 měsíci +10

    literally the simplest video of authentication by mongo db, hats of to you sir 😌😌

    • @happy_vlogs_sk
      @happy_vlogs_sk Před 5 měsíci

      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 Před 2 měsíci +1

      ​@@happy_vlogs_sk just start typing your project name over it
      bc the cursor won't actually work over it

  • @Nord-iq
    @Nord-iq Před 8 měsíci

    اخيرا شرح براسة حظ تعبت واني ادور هيج شرح يااخي شكرا

  • @DeveloperAchuchi
    @DeveloperAchuchi Před 7 měsíci

    Great work brother keep it up.
    This is the next big Channel

  • @akashchilgar3737
    @akashchilgar3737 Před rokem +8

    Thank you bro, this is really very helpful for beginners ❤🎉

  • @user-jz5vh7sl1d
    @user-jz5vh7sl1d Před 6 měsíci +1

    Thank you! Everything is worked as you guided!

  • @rohanbiswas8487
    @rohanbiswas8487 Před rokem +5

    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 Před 7 měsíci +2

      How did you get the signup.jsx source code ??

    • @KartikSharma-mv8vi
      @KartikSharma-mv8vi Před 7 měsíci +1

      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 Před 3 měsíci

      @@KartikSharma-mv8vi same problem how did u solve it please tell me thanks

  • @pieface4955
    @pieface4955 Před 10 měsíci +5

    This helped so much and was very clear, thanks

  • @ridwanatolagbe3279
    @ridwanatolagbe3279 Před 9 měsíci +2

    Thank you very much bro. The tutorial was so resourceful.

  • @user-ld5cw8ob5k
    @user-ld5cw8ob5k Před 8 měsíci +1

    really beginner friendly, thanks

  • @Cric11Cricket
    @Cric11Cricket Před 8 měsíci +1

    Thank you .This is very helpful video furthermore interesting for coders

  • @nazranbibi
    @nazranbibi Před 11 měsíci +1

    Thank you so much 😊 for making so easy.
    You are amazing 😊

  • @deshanbandara4985
    @deshanbandara4985 Před 9 měsíci +1

    um a begginer this really help full to me brother thank you!

  • @rishabhsrivastava722
    @rishabhsrivastava722 Před 11 měsíci

    Thankyou so much bhai please make videos like this It was my first mern project and I am very happy again thankyou bro

  • @wardahshahid2758
    @wardahshahid2758 Před 2 měsíci

    Thankyou Youasf, the project is very helpful for beginers.

  • @rockyalex8377
    @rockyalex8377 Před 9 měsíci

    thank you so much.. this is exactly what i need as a beginner

  • @abdellah-2498
    @abdellah-2498 Před 7 měsíci

    Thank you so much duuuude, you really helped me !!

  • @djiddiadoum2357
    @djiddiadoum2357 Před 10 měsíci +1

    Hi bro thanks for your help and we appreciate a lof. we learned much from these videos

  • @VishalYadav-gk1kg
    @VishalYadav-gk1kg Před 2 měsíci +1

    Very nice explanation sir, Thank you!

  • @talhatalib5457
    @talhatalib5457 Před dnem

    Thanks Bro, Your Code Worked in my system in first Attempt. Your teaching methodology is epic. #WellDone!

  • @parth6661
    @parth6661 Před 2 měsíci +1

    very good video for understanding the basics behind the login signup in MERN STACK. Thanksss bro.. You helped much for my project

  • @UECSoumyaRay
    @UECSoumyaRay Před 10 měsíci +13

    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.

  • @_sf_editz1870
    @_sf_editz1870 Před 8 měsíci +1

    Super helpful for beginners ❤

  • @amanemisa2600
    @amanemisa2600 Před 4 měsíci

    this is very helpful and direct to the point, thank you very much

  • @Praveen-pg6zb
    @Praveen-pg6zb Před 9 měsíci

    Thank you bro, really great 🎉

  • @CrazyAshu34
    @CrazyAshu34 Před 6 dny

    I think this is the best video, & that's because it's shows top first on the search

  • @muhammadzawar1741
    @muhammadzawar1741 Před 4 měsíci

    very great tutorial teach in a simple way

  • @user-ub3kk4bt4d
    @user-ub3kk4bt4d Před 10 měsíci

    Thank you bro this is very helpful.

  • @thakurmohansingh-bv6ff
    @thakurmohansingh-bv6ff Před 5 měsíci

    Thank you so much for this amazing video🎉.. bcz you keep in mind like as a student visualisation...

  • @sukantabiswas3765
    @sukantabiswas3765 Před 11 měsíci

    Bro is too good. Thank u so much.🙏

  • @deepakyadavYT
    @deepakyadavYT Před měsícem

    Thank you brother for this video. It helped me very much !

  • @yuvaengineer
    @yuvaengineer Před 5 měsíci

    mashallah brother maza aa gaya

  • @user-mb6ho6rl9x
    @user-mb6ho6rl9x Před 4 měsíci

    crisp and clear

  • @alishashaik7159
    @alishashaik7159 Před 6 měsíci

    Thank you so much sir,u helped alot.🤗

  • @lecturerrobel
    @lecturerrobel Před 3 měsíci

    what amazing tutorial !

  • @ferreiradelima96
    @ferreiradelima96 Před 3 měsíci

    Excellent tutorial.

  • @muhammadafnan_8819
    @muhammadafnan_8819 Před 9 měsíci +1

    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  Před 9 měsíci +2

      Thank you, bro, I am working on a small e-commerce project.
      Next Week inshallah

  • @relaxingtime2411
    @relaxingtime2411 Před 5 měsíci

    Good Explanation ♥♥

  • @selvapandi1362
    @selvapandi1362 Před 7 měsíci

    thankyou bro, it's worked for me bro, keep it up bro

    • @PriyaYadav-wi7ri
      @PriyaYadav-wi7ri Před 3 měsíci

      yrr mera code run nhi ho raha ek baar aap check krloge error bhi show nhi ho raha hai koi

  • @elhamyadira
    @elhamyadira Před 9 měsíci

    Thank you soooooooooooo much. This worked.🥰

  • @Soulof8d
    @Soulof8d Před 3 měsíci

    thank you bro :)

  • @ahsanahsan1087
    @ahsanahsan1087 Před 11 měsíci

    Great

  • @md.marufbinsolaiman4038
    @md.marufbinsolaiman4038 Před měsícem

    very helpful buddy.

  • @user-iy6ml5qc3h
    @user-iy6ml5qc3h Před 11 měsíci

    awesome tut,

  • @Bharat-lz5lh
    @Bharat-lz5lh Před 7 měsíci

    Very nice

  • @shobithps4258
    @shobithps4258 Před 7 měsíci

    thank you very much :)

  • @TradingLines-uj7ds
    @TradingLines-uj7ds Před 2 měsíci

    thank you for this vidio and plz add logout logic as well

  • @memesnow1324
    @memesnow1324 Před 11 měsíci +5

    i learned alot from this video Thank you ❤

  • @Developer8631
    @Developer8631 Před měsícem

    Thank Your Sir 🤗

  • @BANDLAHYNDAVIBCE
    @BANDLAHYNDAVIBCE Před 8 měsíci +1

    unable to see the created table in atlas and data was shown [] like this

  • @GauravPatel-ly4ul
    @GauravPatel-ly4ul Před 9 měsíci

    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

  • @devsavvy9
    @devsavvy9 Před 7 měsíci

    Thank you very much❤❤

  • @user-db4co7ih2d
    @user-db4co7ih2d Před 6 měsíci

    Thanks brother you are greate

  • @DHANASEKARD-yc5lq
    @DHANASEKARD-yc5lq Před měsícem

    Worth bro works fine

  • @veronicagitari1600
    @veronicagitari1600 Před 4 měsíci

    I'm a beginner and I'm still stuck at the signup page
    My bootstrap i don't know why it has an error

  • @ruki4969
    @ruki4969 Před 8 měsíci

    god bless u, u saved my days

  • @Burov96
    @Burov96 Před 7 měsíci

    I am wondering why you did all that locally? I was looking to do it all on Mongoose online and live.

  • @pavankumarpulipati1838
    @pavankumarpulipati1838 Před 6 měsíci

    Thank you bro,

  • @ashanisuru3820
    @ashanisuru3820 Před 8 měsíci

    If i input correct password i got "incorrect password" to my console how could that possible and can you tell me how to fix

  • @emmanuelomozuafo2364
    @emmanuelomozuafo2364 Před 11 měsíci

    How do we add error message if the input is incorrect.

  • @Roozikhan565
    @Roozikhan565 Před rokem

    ❤🎉❤

  • @DanielAlves-im1np
    @DanielAlves-im1np Před 8 měsíci

    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

  • @shwetaupadhyay432
    @shwetaupadhyay432 Před 5 měsíci

    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 Před 4 měsíci

      I think you were trying to write but you mistakenly wrote .

  • @Usmankhan-yr3dl
    @Usmankhan-yr3dl Před 10 měsíci

    Brother I am a beginner in this field
    What should I learn first before watching this video ?

  • @ritikkumarsharma9489
    @ritikkumarsharma9489 Před 10 měsíci +1

    what is user in the at 25:07 at 17th line

  • @ezeldesilva2717
    @ezeldesilva2717 Před 3 měsíci +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  Před 3 měsíci

      check adding a record API code

    • @ezeldesilva2717
      @ezeldesilva2717 Před 3 měsíci

      Where can I check a record API code and what will I do...tnx

  • @webv2755
    @webv2755 Před 5 měsíci

    Thank You

  • @williamosullivan8366
    @williamosullivan8366 Před 9 měsíci

    bro do you have the regulation signup code?

  • @mcgndb
    @mcgndb Před 3 měsíci +1

    your explanation is very good and simple .....i request you please provide source code

  • @tawoplays4722
    @tawoplays4722 Před 8 měsíci +1

    Hello sir, uhmm can you try the mongodb atlas next? Cause i am having difficulties trying it on mongodb atlas using your code😅

  • @dhananjaybramhane835
    @dhananjaybramhane835 Před 2 měsíci

    Sir Apne MERN fullstack Development kaise Shikha ???
    Apaka kay mindset our Rodmap tha???

  • @06-bhaveshrathod40
    @06-bhaveshrathod40 Před 3 měsíci

    getting errors Localhost refuse to connect i did everything same

  • @uiteach123
    @uiteach123 Před 3 měsíci

    I am using this mathod but cannot find data in user \

  • @-SIVANANTHAMD
    @-SIVANANTHAMD Před 4 měsíci +1

    respect++

  • @djiddiadoum2357
    @djiddiadoum2357 Před 10 měsíci

    please i have a problem can someone assist me? why useState is underlined in red in my code?

  • @alfaloverss3116
    @alfaloverss3116 Před 3 měsíci

    If i deploy my project so its work ???

  • @nagaprakashnagu7596
    @nagaprakashnagu7596 Před měsícem

    I GOT axios NETWORK ERROR ? PLEASE GIVE SOLUTION i tried three more time

  • @Mugss
    @Mugss Před 7 měsíci

    It will be great help if you can provide source code for this project bro

  • @raheelshakeel2021
    @raheelshakeel2021 Před 8 měsíci

    thanks

  • @bhupenderkumar9508
    @bhupenderkumar9508 Před 5 měsíci +1

    but bruh how to secure the home page ?. i mean only that user can access the home page who has logged in .

  • @vedwagle1303
    @vedwagle1303 Před 4 měsíci +2

    can you please provide the source code link of github

  • @kumarabhishek3890
    @kumarabhishek3890 Před měsícem

    where can i get the signup.jsx code please tell

  • @user-je4wt8st9g
    @user-je4wt8st9g Před 4 měsíci

    can someone please help me i got axios error

  • @pruthvieditz-hl4ws
    @pruthvieditz-hl4ws Před 4 měsíci

    Bro we need source code for signupform can you provide???

  • @seemakumbhar8534
    @seemakumbhar8534 Před 11 měsíci +9

    Where is source code

    • @rounakshahdeo7941
      @rounakshahdeo7941 Před 2 měsíci +4

      Don't Look for source code A Good programmer Create own self ❤👍🏻

  • @faizalam1893
    @faizalam1893 Před 10 měsíci

    Well, do not inform the user that whether email/username or password is incorrect, just display Login Failed.

  • @rajith17
    @rajith17 Před 2 měsíci

    Hi bro please give source code link i am practicing devops so automate it into deployment

  • @user-ol2bj3if4r
    @user-ol2bj3if4r Před 4 měsíci +1

    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  Před 4 měsíci

      the database id name is like: (_id) use it when you deal with database

  • @sateeshmallapur
    @sateeshmallapur Před 8 měsíci

    how to run this project

  • @bodhisattabhattacharjee3338
    @bodhisattabhattacharjee3338 Před 10 měsíci

    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

  • @kashishsharma4071
    @kashishsharma4071 Před 7 měsíci

    Bro this code is not working

  • @akilaindrasena1245
    @akilaindrasena1245 Před rokem +3

    put the code in the discription please

    • @codewithyousaf
      @codewithyousaf  Před rokem +4

      Here you can find the source code link:
      codewithyousaf.blogspot.com/2023/06/login-and-registration-using-mern-stack.html

  • @abinayaasri2453
    @abinayaasri2453 Před 5 měsíci

    Npm init vite command is not working for me pls help anyone

  • @Yonatan2479
    @Yonatan2479 Před 4 měsíci +1

    where is the github source code????

  • @user-eu3mk5uf6v
    @user-eu3mk5uf6v Před 6 měsíci +1

    bro i dont know how to run please could u help me with it

  • @ashishdharmik8214
    @ashishdharmik8214 Před 8 měsíci +2

    Where is source code man

  • @alfaloverss3116
    @alfaloverss3116 Před 3 měsíci

    i face the password is incorect erorr

  • @aakashmane4451
    @aakashmane4451 Před 4 měsíci

    forgot to teach how to join backend and frontend using cors

  • @HariBabu-ll9zw
    @HariBabu-ll9zw Před měsícem

    nice video bro
    can you provide the code or gitlink

  • @ajaykumark8817
    @ajaykumark8817 Před 5 měsíci

    will you explain me how to host this website on any free website?