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

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024

ความคิดเห็น • 204

  • @rohith3261
    @rohith3261 ปีที่แล้ว +52

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

    • @aristrogaming2023
      @aristrogaming2023 ปีที่แล้ว

      Hi bro have you did this project, i need a source code of it

    • @starthorn1773
      @starthorn1773 9 หลายเดือนก่อน

      Yes you are right

  • @LEENAGUPTA-v6n
    @LEENAGUPTA-v6n 8 หลายเดือนก่อน +16

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

    • @happy_vlogs_sk
      @happy_vlogs_sk 8 หลายเดือนก่อน

      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 5 หลายเดือนก่อน +1

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

  • @thexarviz
    @thexarviz ปีที่แล้ว +9

    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 10 หลายเดือนก่อน +2

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

    • @KartikSharma-mv8vi
      @KartikSharma-mv8vi 9 หลายเดือนก่อน +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 6 หลายเดือนก่อน

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

  • @UECSoumyaRay
    @UECSoumyaRay ปีที่แล้ว +15

    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.

  • @parth6661
    @parth6661 4 หลายเดือนก่อน +2

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

  • @NagarajNagaraj-ct3qp
    @NagarajNagaraj-ct3qp หลายเดือนก่อน +1

    Thank you so much brother finally i got a video with good explanation to connect react and backend

  • @akashchilgar3737
    @akashchilgar3737 ปีที่แล้ว +9

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

  • @pieface4955
    @pieface4955 ปีที่แล้ว +6

    This helped so much and was very clear, thanks

  • @БогданІнвестор
    @БогданІнвестор 8 หลายเดือนก่อน +2

    Thank you! Everything is worked as you guided!

  • @sharshtibaliyan166
    @sharshtibaliyan166 2 วันที่ผ่านมา

    Very helpful video ,Thankyou so much

  • @ridwanatolagbe3279
    @ridwanatolagbe3279 11 หลายเดือนก่อน +3

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

  • @CrazyAshu34
    @CrazyAshu34 2 หลายเดือนก่อน

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

  • @wardahshahid2758
    @wardahshahid2758 5 หลายเดือนก่อน

    Thankyou Youasf, the project is very helpful for beginers.

  • @totallyvalid3160
    @totallyvalid3160 หลายเดือนก่อน +1

    Most excellent tutorial. Thanks!

  • @VishalYadav-gk1kg
    @VishalYadav-gk1kg 4 หลายเดือนก่อน +1

    Very nice explanation sir, Thank you!

  • @deshanbandara4985
    @deshanbandara4985 ปีที่แล้ว +1

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

  • @Cric11Cricket
    @Cric11Cricket 10 หลายเดือนก่อน +1

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

  • @rishabhsrivastava722
    @rishabhsrivastava722 ปีที่แล้ว

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

  • @Nord-iq
    @Nord-iq 11 หลายเดือนก่อน

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

  • @talhatalib5457
    @talhatalib5457 2 หลายเดือนก่อน

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

    • @talhatalib5457
      @talhatalib5457 2 หลายเดือนก่อน

      LOGIN COMPONENT NOT WORKING CODE
      import axios from "axios";
      import { useState } from "react";
      import { Link, useNavigate } from "react-router-dom";
      function Login() {
      const [email, setEmail] = useState();
      const [password, setPassword] = useState();
      const navigate = useNavigate();
      const handleSubmit = (e) => {
      e.preventDefault();
      console.log("Login Button Pressed!");
      axios
      .post("localhost:3001/login", { email, password })
      .then((result) => {
      console.log(result);
      if (result.data === "Login Successful") {
      navigate("/component");
      }
      })
      .catch((err) => console.log(err));
      };
      return (

      Login Here!


      Email address
      setEmail(e.target.value)}
      />

      We`ll never share your email with anyone else.



      Password
      setPassword(e.target.value)}
      />






      Log Me In


      );
      }
      export default Login;

    • @talhatalib5457
      @talhatalib5457 2 หลายเดือนก่อน

      SERVER => PAKAGE.JSON WORKING CODE
      {
      "name": "server",
      "version": "1.0.0",
      "main": "index.js",
      "scripts": {
      "test": "echo \"Error: no test specified\" && exit 1",
      "start": "nodemon index.js"
      },
      "keywords": [],
      "author": "",
      "license": "ISC",
      "description": "",
      "dependencies": {
      "cars": "^1.1.6",
      "cors": "^2.8.5",
      "express": "^4.19.2",
      "mongoose": "^8.4.4",
      "nodemon": "^3.1.4"
      }
      }

  • @DeveloperAchuchi
    @DeveloperAchuchi 9 หลายเดือนก่อน

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

  • @amanemisa2600
    @amanemisa2600 6 หลายเดือนก่อน

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

  • @nageshbc6392
    @nageshbc6392 2 หลายเดือนก่อน

    bro you are a legend! thank you for this wonderful video

  • @RichardMonné
    @RichardMonné 20 วันที่ผ่านมา

    Thanks a log ! very straightforward to understand.

  • @djiddiadoum2357
    @djiddiadoum2357 ปีที่แล้ว +1

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

  • @thakurmohansingh-bv6ff
    @thakurmohansingh-bv6ff 8 หลายเดือนก่อน

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

  • @nazranbibi
    @nazranbibi ปีที่แล้ว +1

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

  • @memesnow1324
    @memesnow1324 ปีที่แล้ว +5

    i learned alot from this video Thank you ❤

    • @gnanu3530
      @gnanu3530 ปีที่แล้ว +2

      i need a source code of it

    • @aghilesouaras3842
      @aghilesouaras3842 5 หลายเดือนก่อน

      @@gnanu3530 Did you get it ?

  • @EmnetMamo
    @EmnetMamo 10 หลายเดือนก่อน +1

    really beginner friendly, thanks

  • @muhammadafnan_8819
    @muhammadafnan_8819 11 หลายเดือนก่อน +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  11 หลายเดือนก่อน +2

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

  • @rockyalex8377
    @rockyalex8377 11 หลายเดือนก่อน

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

  • @muhammadzawar1741
    @muhammadzawar1741 6 หลายเดือนก่อน

    very great tutorial teach in a simple way

  • @_sf_editz1870
    @_sf_editz1870 11 หลายเดือนก่อน +1

    Super helpful for beginners ❤

  • @KuchOriemi
    @KuchOriemi 2 หลายเดือนก่อน

    Very helpful indeed thank you ❤❤

  • @abdellah-2498
    @abdellah-2498 10 หลายเดือนก่อน

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

  • @UmerKhan-ro3dy
    @UmerKhan-ro3dy หลายเดือนก่อน

    Best explanation ❤️❤️

  • @alishashaik7159
    @alishashaik7159 8 หลายเดือนก่อน

    Thank you so much sir,u helped alot.🤗

  • @yuvaengineer
    @yuvaengineer 8 หลายเดือนก่อน

    mashallah brother maza aa gaya

  • @RasalAnsar-i1e
    @RasalAnsar-i1e 6 หลายเดือนก่อน

    crisp and clear

  • @ferreiradelima96
    @ferreiradelima96 5 หลายเดือนก่อน

    Excellent tutorial.

  • @TradingLines-uj7ds
    @TradingLines-uj7ds 5 หลายเดือนก่อน

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

  • @chaudharikrunal-vh4mz
    @chaudharikrunal-vh4mz 28 วันที่ผ่านมา

    This is the best video ever ❤

  • @DcoderLLC
    @DcoderLLC ปีที่แล้ว

    Thank you bro this is very helpful.

  • @Praveen-pg6zb
    @Praveen-pg6zb 11 หลายเดือนก่อน

    Thank you bro, really great 🎉

  • @TheAdventuresEye
    @TheAdventuresEye 4 วันที่ผ่านมา

    There is no condition on login page, Like user can not go to /home page without login...or user can not go back to sign page once they login...?

  • @ezeldesilva2717
    @ezeldesilva2717 6 หลายเดือนก่อน +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  6 หลายเดือนก่อน

      check adding a record API code

    • @ezeldesilva2717
      @ezeldesilva2717 6 หลายเดือนก่อน

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

  • @sukantabiswas3765
    @sukantabiswas3765 ปีที่แล้ว

    Bro is too good. Thank u so much.🙏

  • @mcgndb
    @mcgndb 6 หลายเดือนก่อน +1

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

  • @BANDLAHYNDAVIBCE
    @BANDLAHYNDAVIBCE 10 หลายเดือนก่อน +1

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

  • @selvapandi1362
    @selvapandi1362 9 หลายเดือนก่อน

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

    • @PriyaYadav-wi7ri
      @PriyaYadav-wi7ri 5 หลายเดือนก่อน

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

  • @fikrebereda
    @fikrebereda หลายเดือนก่อน

    great man

  • @dhananjaybramhane835
    @dhananjaybramhane835 5 หลายเดือนก่อน

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

  • @lecturerrobel
    @lecturerrobel 5 หลายเดือนก่อน

    what amazing tutorial !

  • @Usmankhan-yr3dl
    @Usmankhan-yr3dl ปีที่แล้ว

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

  • @relaxingtime2411
    @relaxingtime2411 8 หลายเดือนก่อน

    Good Explanation ♥♥

  • @elhamyadira
    @elhamyadira 11 หลายเดือนก่อน

    Thank you soooooooooooo much. This worked.🥰

  • @nageshmane_14606
    @nageshmane_14606 3 หลายเดือนก่อน

    Thank Your Sir 🤗

  • @md.marufbinsolaiman4038
    @md.marufbinsolaiman4038 3 หลายเดือนก่อน

    very helpful buddy.

  • @ShashiBhusalComputing
    @ShashiBhusalComputing 8 หลายเดือนก่อน

    Thanks brother you are greate

  • @nasnikt3812
    @nasnikt3812 หลายเดือนก่อน

    thanku sir

  • @TheAdventuresEye
    @TheAdventuresEye 5 วันที่ผ่านมา

    why are you using link Tag insted of button on form submit

  • @DHANASEKARD-yc5lq
    @DHANASEKARD-yc5lq 3 หลายเดือนก่อน

    Worth bro works fine

  • @shobithps4258
    @shobithps4258 10 หลายเดือนก่อน

    thank you very much :)

  • @seemakumbhar8534
    @seemakumbhar8534 ปีที่แล้ว +15

    Where is source code

    • @rounakshahdeo7941
      @rounakshahdeo7941 4 หลายเดือนก่อน +8

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

  • @devsavvy9
    @devsavvy9 9 หลายเดือนก่อน

    Thank you very much❤❤

  • @Soulof8d
    @Soulof8d 5 หลายเดือนก่อน

    thank you bro :)

  • @shwetaupadhyay432
    @shwetaupadhyay432 8 หลายเดือนก่อน

    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 6 หลายเดือนก่อน

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

  • @ruki4969
    @ruki4969 10 หลายเดือนก่อน

    god bless u, u saved my days

  • @Techify_ninja
    @Techify_ninja 20 วันที่ผ่านมา +1

    If u r uploading something on youtube then please explain it instead of just writing it

  • @veronicagitari1600
    @veronicagitari1600 6 หลายเดือนก่อน

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

  • @accidentalgnius
    @accidentalgnius หลายเดือนก่อน +1

    How are you connecting the Login page with your server?

    • @codewithyousaf
      @codewithyousaf  หลายเดือนก่อน

      I think I showed everything in video to connect it.
      1 create node app and implement route use that route to call API

  • @bhupenderkumar9508
    @bhupenderkumar9508 7 หลายเดือนก่อน +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 7 หลายเดือนก่อน +2

    can you please provide the source code link of github

  • @waqarbhatti-c7v
    @waqarbhatti-c7v ปีที่แล้ว

    awesome tut,

  • @Bharat-lz5lh
    @Bharat-lz5lh 10 หลายเดือนก่อน

    Very nice

  • @Burov96
    @Burov96 10 หลายเดือนก่อน

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

  • @Xenonxiz_
    @Xenonxiz_ หลายเดือนก่อน +1

    sir my mongodb is automatically creating new "test" database and the employees are getting created inside it. How do i fix it?

    • @codewithyousaf
      @codewithyousaf  หลายเดือนก่อน +1

      in connection add database name after connection string it will create a new database

    • @Xenonxiz_
      @Xenonxiz_ หลายเดือนก่อน

      @@codewithyousaf Thank you sir, how can i connect with you sir? I have some questions

    • @Xenonxiz_
      @Xenonxiz_ หลายเดือนก่อน +1

      @@codewithyousaf for example how can i redirect two different accounts to two different components

    • @Xenonxiz_
      @Xenonxiz_ หลายเดือนก่อน

      @@codewithyousaf can you do tutorial on this video sir?

    • @codewithyousaf
      @codewithyousaf  หลายเดือนก่อน

      @@Xenonxiz_ Yes role base management I explained you can watch on my channel

  • @Itachi16-U
    @Itachi16-U 8 หลายเดือนก่อน

    Thank you bro,

  • @GauravPatel-ly4ul
    @GauravPatel-ly4ul ปีที่แล้ว

    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

  • @tawoplays4722
    @tawoplays4722 10 หลายเดือนก่อน +1

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

  • @meghanajwala2971
    @meghanajwala2971 2 หลายเดือนก่อน

    Have a small doubt. Why can't the button "Login" be a part of the form tag?

    • @markjosephortizano5084
      @markjosephortizano5084 หลายเดือนก่อน

      Once you click login it will go login page.that's what he really do, also login has link already

  • @ahsanahsan1087
    @ahsanahsan1087 ปีที่แล้ว

    Great

  • @nagaprakashnagu7596
    @nagaprakashnagu7596 4 หลายเดือนก่อน

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

  • @ashanisuru3820
    @ashanisuru3820 11 หลายเดือนก่อน

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

  • @DanielAlves-im1np
    @DanielAlves-im1np 11 หลายเดือนก่อน

    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

  • @PreethibunnyAsadi
    @PreethibunnyAsadi 7 หลายเดือนก่อน +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  7 หลายเดือนก่อน

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

  • @webv2755
    @webv2755 7 หลายเดือนก่อน

    Thank You

  • @-SIVANANTHAMD
    @-SIVANANTHAMD 7 หลายเดือนก่อน +1

    respect++

  • @06-bhaveshrathod40
    @06-bhaveshrathod40 6 หลายเดือนก่อน

    getting errors Localhost refuse to connect i did everything same

  • @uiteach123
    @uiteach123 6 หลายเดือนก่อน

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

  • @ashishdharmik8214
    @ashishdharmik8214 11 หลายเดือนก่อน +2

    Where is source code man

  • @emmanuelomozuafo2364
    @emmanuelomozuafo2364 ปีที่แล้ว

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

  • @ritikkumarsharma9489
    @ritikkumarsharma9489 ปีที่แล้ว +1

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

  • @oshanlap
    @oshanlap 4 หลายเดือนก่อน +1

    18:59

  • @Yonatan2479
    @Yonatan2479 6 หลายเดือนก่อน +1

    where is the github source code????

  • @aakashmane4451
    @aakashmane4451 7 หลายเดือนก่อน

    forgot to teach how to join backend and frontend using cors

  • @rajith17
    @rajith17 5 หลายเดือนก่อน

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

  • @raheelshakeel2021
    @raheelshakeel2021 10 หลายเดือนก่อน

    thanks

  • @faizalam1893
    @faizalam1893 ปีที่แล้ว

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

  • @alfaloverss3116
    @alfaloverss3116 5 หลายเดือนก่อน

    If i deploy my project so its work ???