Login and Registration Form using React + Node + MySQL | Login and Sign Up Form with Validation

Поделиться
HTML-код
  • Опубликовано: 12 мар 2023
  • This video is a very simple beginner's version of a register/login page. It includes registering users, inserting data into a database, and reading the data to allow login. We also validated our forms with React JS. Login and Registration Form using React + Node + MySQL | Full Stack Login and Sign Up Form

Комментарии • 242

  • @KrishRachakonda
    @KrishRachakonda 11 месяцев назад +13

    Hi Yousaf, I want to express my appreciation for the wonderful job you've done. I have a small feedback regarding the code, and I would highly appreciate it if you could provide some explanation on why you chose to use these specific approaches instead of alternative ones.

  • @feelingnether158
    @feelingnether158 10 месяцев назад +3

    this guy is a lifesaver for real !

  • @user-vh1ib1lx9c
    @user-vh1ib1lx9c 10 месяцев назад

    Thank you so much, Yousaf. Nice tutorial.

  • @nickko1427
    @nickko1427 9 месяцев назад +5

    Im having an issue with the data being stored on the DB, on the signup page im only able to create 1 user record. I cannot have more than 1 record, when i delete the existing record im left with none but then im able to create a new record that only amounts to 1. Is there any way to fix this?
    Edit: resolved the issue, forgot to check the auto incrementation box on the ID field in database

  • @sivaprasadreddy6453
    @sivaprasadreddy6453 15 дней назад +1

    Thank you for valuable time taken this video , you can properly explained this video and also once for very thank you for teaching

  • @tumelotsamai2662
    @tumelotsamai2662 Год назад +1

    you are very helpful

  • @LoveCintaAmour
    @LoveCintaAmour 5 месяцев назад +2

    Hello, thanks first for your exceptional video, but I have a small question, please how did you create the server.js cause if I saw it well, it seems to be outside to this reactjs environment app.

  • @bleonjusufi8375
    @bleonjusufi8375 11 месяцев назад +6

    Make a part 2 of this and do CRUD Operations

  • @satnam4583
    @satnam4583 Год назад

    Awesome video 😎👍

  • @naimnaro6797
    @naimnaro6797 3 месяца назад +3

    i fixed it (if click sign up button but no data added in your phpmyadmin)
    change server.js
    const sql = "INSERT INTO `login`(`name`, `email`, `password`) VALUES ('" + req.body.name + "', '" + req.body.email + "', '" + req.body.password + "')";
    also add debug log like
    console.log("SQL Query:", sql);
    console.log(values);
    console.log(req.body); (for test, debugging)
    also trying to insert in phpmyadmin web not in backend
    thank you yousaf,
    it was long i stay up night and fixed it
    love your contents

    • @mahmudchoudhury4844
      @mahmudchoudhury4844 3 месяца назад

      Possible to send your codes; I'm having the same issues

  • @harishsrinivasan3552
    @harishsrinivasan3552 6 месяцев назад

    Thank you brother!!!
    it is very useful

  • @melvindomingo2292
    @melvindomingo2292 27 дней назад +2

    If you’re experiencing issues with data not being inserted into your database, it might be due to the maximum length of the ‘email’ column in your ‘login’ table being too short to accommodate the email addresses you’re trying to insert. To resolve the issue, you can increase the length of the ‘email’ column in your ‘login’ table. Thank me later😉

  • @zephyruskoryami948
    @zephyruskoryami948 7 месяцев назад +9

    Backend starts at 28:33

  • @jeaneudesdjeya9151
    @jeaneudesdjeya9151 8 месяцев назад +1

    Ta vidéo m'a beaucoup aidé du coup je m'abonne❤

    • @emmma383
      @emmma383 2 месяца назад

      please I have a question: is the information recorded in the database???

  • @sandipkc
    @sandipkc Год назад +8

    great tutorial. But no github link. I know there is code at blogpost. The code is not readable.

  • @virendrachavda8875
    @virendrachavda8875 Год назад

    Thanks bro👍

  • @arnasvainilavicius2459
    @arnasvainilavicius2459 9 месяцев назад +4

    Great vid, many thanx.
    One question though
    Seems like the green login as well as signup buttons need to be clicked twice in order for them to work.
    Is there a way to fix this?

  • @Aravindh143s
    @Aravindh143s 2 дня назад

    thank you so much ,its working♥

  • @pravinjedhe2631
    @pravinjedhe2631 5 месяцев назад

    very helpful

  • @venkateshTotad-hc2iq
    @venkateshTotad-hc2iq 6 месяцев назад

    Nice Video

  • @bayramcinarr
    @bayramcinarr 10 месяцев назад +2

    everything okey but when i try to enter with email and password it says this record is not valid eventhough the record in database

  • @user-tv5wg1no8v
    @user-tv5wg1no8v Год назад

    best 🔥

  • @rishabhsharma2581
    @rishabhsharma2581 3 месяца назад

    love from india

  • @rence9522
    @rence9522 8 месяцев назад

    great video can iask sir why you not save the file into a jsx?

  • @Abdurrehmankhan-dk2td
    @Abdurrehmankhan-dk2td 4 месяца назад

    bro why you use new database for signup? when you can also use login data base

  • @SanjayKumar-kk7lz
    @SanjayKumar-kk7lz 8 месяцев назад +1

    Really, it's a nice video. First time submit button not working for login and signup. Kindy let me know how to clear values of input after form submitted...

    • @codewithyousaf
      @codewithyousaf  8 месяцев назад

      use useRef hook for that
      first import it then create an instance ot it then assign to input field finally in the submit fun clear the value of that.

    • @s.moonga7928
      @s.moonga7928 4 месяца назад

      Can i please get the source code please ​@@codewithyousaf

  • @carlosstoll3637
    @carlosstoll3637 Год назад

    Good video! Could you make one just like it, nothing more than including JWT, Bcrypt and cookies?

  • @mengistuyirga3917
    @mengistuyirga3917 Месяц назад

    Sir, if I put localhost:3000/home, it will open the url without login, is it good?

  • @pateldarshil2106
    @pateldarshil2106 2 месяца назад

    it was very easy guidence..!!

    • @emmma383
      @emmma383 2 месяца назад

      please I have a question: is the information recorded in the database???

  • @mo-awny
    @mo-awny 2 месяца назад +2

    first thanks bro for this video
    2nd i update the code to
    const err = Validation(values);
    setErrors(err);
    and i still need to click 2 time on signup

    • @codewithyousaf
      @codewithyousaf  2 месяца назад +1

      Check that code here:
      www.buymeacoffee.com/codewithyousaf/login-registration-form-using-react-node-js-mysql

  • @jhonrexeycabrera8764
    @jhonrexeycabrera8764 5 месяцев назад

    Thanks

  • @eFullStack
    @eFullStack Месяц назад +1

    Thank you for the tutorial. I have made a small fix on database post for user signup:
    app.post("/signup", (req, res) => {
    const q = "INSERT INTO login (`name`,`email`,`password`) VALUES (?)"
    const values = [
    req.body.name,
    req.body.email,
    req.body.password,
    ]
    db.query(q, [values], (err, data) => {
    if(err) return res.json(err);
    return res.json("User created successfully.");
    })
    })

  • @singhsai9870
    @singhsai9870 8 месяцев назад +1

    @codewithyousaf while i am trying my data was not inserting to the database can you help and not retrieving also
    console.log(req.body) i tried with this data coming to server but not inserting

  • @ayushlodha-rz2yd
    @ayushlodha-rz2yd 4 месяца назад

    hi yousaf,i followed each and every step but when i try to enter the password of length greater than 8 it shows password didnt match

  • @chanchleshaharwar
    @chanchleshaharwar Год назад

    Make this type video but give one field for user type

  • @truongang3104
    @truongang3104 Год назад +1

    thank you very much

  • @mohamedzahidshakeebbasha9682
    @mohamedzahidshakeebbasha9682 7 месяцев назад +1

    when I click sign up, it's taking me to login page but In db no records are getting created, when I console the res, the data says Error but status code is 200, any suggestions?

    • @codewithyousaf
      @codewithyousaf  7 месяцев назад

      check server side coding once again after a cup of coffee you find the error.

  • @naimnaro6797
    @naimnaro6797 3 месяца назад

    please why..
    i use your code copy paste
    but click sign up then no data in phpmyadmin

  • @xeverybolo2323
    @xeverybolo2323 6 месяцев назад +6

    my name, email, and password wont show in the database after pressing Sign Up

  • @rishabhsharma2581
    @rishabhsharma2581 3 месяца назад

    thanax yousuf

  • @sauravsingh471
    @sauravsingh471 2 месяца назад +1

    how do we change the password of an existing user, can you make a video on it please

  • @konatesoumahila2806
    @konatesoumahila2806 9 месяцев назад

    Hi yousaf ,
    Thank you very much for this nice tutorial. But when I run the code I get an error like:Module not found: Error: Can't resolve 'axios'

  • @user-sy1od9og5g
    @user-sy1od9og5g Год назад +1

    Good day. Do you have video starting from setting up the Crud operation in phpMyAdmin because i don't know how to do it please.

    • @codewithyousaf
      @codewithyousaf  Год назад

      I have video for crud you can search in my channel

    • @user-sy1od9og5g
      @user-sy1od9og5g Год назад

      @@codewithyousaf I mean a video showing how you set up the database in the phpMyAdmin for the Login and Signup please

  • @emmma383
    @emmma383 2 месяца назад

    please I have a probleme the information has not recorded in the database

  • @user-lj9pb7py3o
    @user-lj9pb7py3o Год назад +1

    Bro I have problem:
    Whenever I click on submit it will show "password didn't match"
    I have given 1 small letter 1 capital letter and digits with length>=8
    But it shows password didn't match?

    • @rinaaiko5619
      @rinaaiko5619 Год назад

      you should use 1 number 1 small letter 1 capital letter and length should be >=8

    • @madhurimadhuri7844
      @madhurimadhuri7844 Год назад

      @@rinaaiko5619 eventhough it's not working

    • @rinaaiko5619
      @rinaaiko5619 Год назад

      try 1234asdfASDF, if it isn't work, check regular expression

    • @orobosaekpomebe60
      @orobosaekpomebe60 8 месяцев назад

      Go online and get password regex

    • @swordsriram8455
      @swordsriram8455 6 месяцев назад

      try the password pattern :
      const password_pattern = /^.{8,}$/
      it will allows you to enter a minimum of 8 characters

  • @electronicdev4978
    @electronicdev4978 6 месяцев назад

    How to log out? what if i want to close my session?

  • @mohamedalikhattab5531
    @mohamedalikhattab5531 Год назад

    hello i have a problem when i click on signup i have a problem in the console {data: 'error', status: 200, statusText: 'OK', headers: AxiosHeaders, config: {…}, …} ?

    • @codewithyousaf
      @codewithyousaf  Год назад

      check your server side code what did you return?

    • @Datngu46
      @Datngu46 6 месяцев назад

      i faced that too, my solution is to check the query code, and make sure that there are enough data for not null columns, I have 4 not null column but I insert 3 values, so it running wrong

  • @Hemagounder
    @Hemagounder 5 месяцев назад +1

    When I click on signup, it's navigating to login page but records are not getting inserted in the database

  • @soufinator3631
    @soufinator3631 7 месяцев назад

    I did everything I could, changed my routes, recreated the database, recreated some of my codes as well installed neccesary files, yet with all of this, the data added into the Sign Up formate does not show up into my database, I tried all possible ways yet this issue remains

    • @codewithyousaf
      @codewithyousaf  7 месяцев назад +1

      First when you click submit button console the values you stored in variables if data printed then pass the data to server side in server side console the data if you got data from front-end then store it inside the database if not check your code.

    • @soufinator3631
      @soufinator3631 7 месяцев назад

      @@codewithyousaf Thanks for replying but unfortunately I still have the problem, is there another way to fix it? Thanks in adance

    • @codewithyousaf
      @codewithyousaf  7 месяцев назад

      @@soufinator3631 www.buymeacoffee.com/codewithyousaf/login-registration-form-using-react-node-js-mysql

  • @deepakrider4657
    @deepakrider4657 4 месяца назад

    How to get the default react js function?

  • @play-way
    @play-way 8 месяцев назад

    Make a CRUD operation video

  • @NganNguyen-my4ru
    @NganNguyen-my4ru 6 месяцев назад +2

    I did as you instructed but still cannot connect to the database. Please advise 🙏🙏🙏

    • @albatrus2820
      @albatrus2820 Месяц назад

      Can you please send me the code I need it 🙏🏻🙏🏻

  • @kameshkumarp4235
    @kameshkumarp4235 Год назад +1

    in frontend , after adding signup .js output page became white ..... what i can do
    no error showing

  • @challarinarendra9529
    @challarinarendra9529 Месяц назад

    hi i have one issue not connecting to the data base

  • @zlnzmr5565
    @zlnzmr5565 6 месяцев назад +1

    for the app.post((portnumber) How do you find the port number? it's making me confused

    • @codewithyousaf
      @codewithyousaf  6 месяцев назад

      Thats from server side

    • @iitzsuiseii1829
      @iitzsuiseii1829 6 месяцев назад

      and how to know where the portnumber is? i am having having no problem up until when submiting the data in sign in and it will not show up on the databas server, maybe it might have something to do with the portnumber?@@codewithyousaf

  • @user-mj3vn9tg8h
    @user-mj3vn9tg8h 3 месяца назад

    By clicking signup button it did not navigate ro login page

  • @fatmanaoui5909
    @fatmanaoui5909 Год назад +1

    why do i keep getting [nodemon] app crashed - waiting for file changes before
    starting... error ?

    • @codewithyousaf
      @codewithyousaf  Год назад

      close it and run it again if you are using windows go to task manager end those tasks of nodejs

    • @fatmanaoui5909
      @fatmanaoui5909 Год назад

      @@codewithyousaf still not working . Can you share the code on github ?

    • @fatmanaoui5909
      @fatmanaoui5909 Год назад

      @@codewithyousaf Cannot GET /signup error

    • @codewithyousaf
      @codewithyousaf  Год назад

      @@fatmanaoui5909 www.buymeacoffee.com/codewithyousaf/login-registration-form-using-react-node-js-mysql

  • @Ns-vm6rs
    @Ns-vm6rs 7 месяцев назад +1

    I was not navigating to home page when i click on login and even it is showing any error ca you please help me what may be the error.

    • @codewithyousaf
      @codewithyousaf  7 месяцев назад

      By Successfully login shows an alert in the code. If an alert happens then it is okay to use navigate otherwise check your code.

    • @Ns-vm6rs
      @Ns-vm6rs 7 месяцев назад +1

      @@codewithyousaf yeah it is showing an alert msg whenever i try to login. i was unable to navigate to home page .By the way thanks for replying

    • @codewithyousaf
      @codewithyousaf  7 месяцев назад

      @@Ns-vm6rs did you import useNavigate from react-router-dom
      after importing create an instance of that then use it.
      it will be Okay

  • @user-bq2qi6ky9j
    @user-bq2qi6ky9j Год назад

    36:34 I got problem while after adding nodemon server.js and starting npm start

  • @rawansayed8707
    @rawansayed8707 8 месяцев назад +1

    when i click on signup it doesnt navigate to the root. any advice?

  • @samueligwe3858
    @samueligwe3858 Год назад

    thankyou so much, i will buy you a coffee

  • @ominhsang9824
    @ominhsang9824 Год назад +1

    I get my password is "123456" in signup page but it say password didn't match?
    Why?

    • @codewithyousaf
      @codewithyousaf  Год назад +1

      password is validated that must be at least 8 char one smal, one capital and number

  • @zresthine
    @zresthine Год назад +1

    i follow your video when click on register button not redirect to login page why?

    • @codewithyousaf
      @codewithyousaf  Год назад

      the registration done successfully then check navigate to go to the login route

    • @zresthine
      @zresthine Год назад

      @@codewithyousaf hello yousufbhai my i have checked my server is running fine but still i get error 'Failed to load resource: the server responded with a status of 404 (Not Found)' so what is the issue cors orogin or other

    • @zresthine
      @zresthine Год назад

      i getting error AxiosError {message: 'Request failed with status code 404', name: 'AxiosError', code: 'ERR_BAD_REQUEST', config: {…}, request: XMLHttpRequest, …}

    • @zresthine
      @zresthine Год назад

      @@codewithyousaf hello give replay

  • @user-ms8nd6sl7n
    @user-ms8nd6sl7n 11 месяцев назад

    what ? the button are not responsive to functional

  • @Ns-vm6rs
    @Ns-vm6rs 8 месяцев назад +1

    my code is running but when i use signup function then it is saying that the pasword ,email didn't match

    • @codewithyousaf
      @codewithyousaf  8 месяцев назад

      Check your validation.
      follow the video

    • @themindblast8654
      @themindblast8654 4 месяца назад

      bro share your source code @@codewithyousaf

  • @gamingpro4524
    @gamingpro4524 Год назад +2

    Bro, i have problem why the data from register cant be entered in my mysql, i wish you can solve the problem, thaanks

    • @outmanelbakkaoui1579
      @outmanelbakkaoui1579 11 месяцев назад +5

      i had a similar problem i fixed it by folowing these steps :
      first in your register variable change in
      ============================================================================
      .then((response) => {
      console.log(response); // change response to response.data
      })
      =========================================================================
      i the console it will give you the world 'Error' if that happens the problem is most likely in the index.js /server file
      check the line
      =============================================================================
      const sql = "INSERT INTO login (`name`, `email`, `password`) VALUES (?)";
      =============================================================================
      make sure the name , email and password are in ` ` not ' '
      second check your axios importation vscode for some reason mixs between Axios and axios and ends up importing the two of them
      third verify the port for localhost in
      =============================================================================
      .post("localhost:3001/register", {
      name: name,
      email: email,
      password: pass,
      })
      ============================================================================
      ==> hope this helps

    • @patelkeyur7240
      @patelkeyur7240 8 месяцев назад

      ​@@outmanelbakkaoui1579 hey bro... Last solution... please explain in detail please

  • @trix7450
    @trix7450 Год назад +3

    hello, nice tutorial! Can you please fix when i try to login or signup and when it shows error i need to click 2 ttimes to sign up.

    • @codewithyousaf
      @codewithyousaf  Год назад +1

      I think the problem is that when you return the error and set them in setErrors so it is rendering again. 🤔

    • @trix7450
      @trix7450 Год назад +2

      @@codewithyousaf but it is same in your video. You need to click 2 times to login or signup

    • @codewithyousaf
      @codewithyousaf  Год назад +1

      @@trix7450 You are right bro. It was like this but the problem was that when we returned error it needs two now I will provide you 2 options:
      1:
      I created a new complete video for authentication and authorization I will upload it tomorrow.
      2: I will check the video I uploaded and provide you a solution.
      which one?

    • @trix7450
      @trix7450 Год назад +2

      @@codewithyousaf thank you bro, i dont know if you saw my comment probobly got deleted because of pastebin link. I fixed the code and i can share code with you if you want tommorow

    • @codewithyousaf
      @codewithyousaf  Год назад +2

      @@trix7450 I worked on it and fixed it right now also I will update this video just write like :
      instead of {setErrors(Validation(values)}
      write like this:
      const err = Validations(values);
      setErrors(err);
      if(err.name === "" && err.email === "" && err.password === "")

  • @FaizaAfzalOfficial
    @FaizaAfzalOfficial 9 месяцев назад

    my error is "useNavigate " is not defined what to do kindly response??

    • @kevinphilip889
      @kevinphilip889 8 месяцев назад

      did you import it at the top from 'react-router-dom'?

  • @ominhsang9824
    @ominhsang9824 Год назад

    I got user's information from database
    And now I want pass user's information to Home
    Can u give me a hint to do this task

    • @codewithyousaf
      @codewithyousaf  Год назад +1

      @@ominhsang9824 The best way is redux to store user info and access from all components

  • @bobi_tron
    @bobi_tron 5 месяцев назад

    4:00 haven't explained this rfce thing. It doesn't work for me

    • @HB-os3ci
      @HB-os3ci 2 месяца назад

      Create React Functional Component. It's a boilerplate for react

  • @kavyavaranasi9893
    @kavyavaranasi9893 Год назад

    bro could you please tell me to solve CORS failed error in console

    • @ankushroxta9019
      @ankushroxta9019 4 месяца назад

      install cors in backend folder run this command npm install cors

  • @abhishekgaware1931
    @abhishekgaware1931 7 месяцев назад

    any git link for code?

  • @patelkeyur7240
    @patelkeyur7240 8 месяцев назад +2

    Hey ..... My data not store in database ..... anyone help me?

    • @codewithyousaf
      @codewithyousaf  8 месяцев назад

      First when you pass the data to the server side console your data like this:
      console.log(req.body)
      if the data was existed then check your connection if not then check your code

    • @patelkeyur7240
      @patelkeyur7240 8 месяцев назад +1

      @@codewithyousaf thank you so much sir..... You are such a good person 😊

  • @madanmohan5661
    @madanmohan5661 4 месяца назад

    need source code (could you provide git link) ?

  • @virendrachavda8875
    @virendrachavda8875 Год назад +1

    Bro I have problem:
    Whenever I click on submit it will show "password didn't match"
    And I also give atleast one small charecter one upper character sapicial charecter and digits
    But it shows password didn't match?

    • @ClickCrafters95
      @ClickCrafters95 Год назад +1

      same problem i am facing

    • @virendrachavda8875
      @virendrachavda8875 Год назад

      @@ClickCrafters95 bro i got solution: please don't use spacial characters like @ only use number and charecters: use password like this: asdfASD1234

    • @nestorjacinto6537
      @nestorjacinto6537 Год назад +1

      had the same problem, check password_pattern it should look like this "const password_pattern = /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])[a-zA-Z0-9]{8,}$/" for me it was missing some * symbols

    • @virendrachavda8875
      @virendrachavda8875 Год назад

      @@nestorjacinto6537 make password like this: asDF1234

    • @virendrachavda8875
      @virendrachavda8875 Год назад

      It contents all your pattern

  • @sumathig4439
    @sumathig4439 10 месяцев назад +1

    What database are you using??

    • @codewithyousaf
      @codewithyousaf  10 месяцев назад

      MySQL
      I have video for MongoDB also

    • @sumathig4439
      @sumathig4439 10 месяцев назад

      @@codewithyousaf Thanks bro... but how to authenticate login user using json server???

  • @rahul43420
    @rahul43420 2 месяца назад

    I am getting cannot get signup error
    Plz help

  • @P-town58
    @P-town58 Месяц назад

    Getting AxiosError any solution would be helpful

    • @muthu.k6877
      @muthu.k6877 25 дней назад

      import axios from 'axios';

  • @zresthine
    @zresthine Год назад +1

    please give replay asap

  • @tkot7857
    @tkot7857 5 месяцев назад +1

    here we gooo
    10:49 (done)
    19:20 (done)
    29:00 (done)
    40:58 (done)

  • @giathuan8408
    @giathuan8408 Месяц назад

    20:30

  • @shintastha1171
    @shintastha1171 8 месяцев назад +1

    Source code?

  • @alazart3383
    @alazart3383 Месяц назад

    hpw to make this a mobile app

  • @user-zh2ok9hv8z
    @user-zh2ok9hv8z 4 месяца назад

    Дякую за відео, хоча мене це не дуже цікавить, але корисно було послухати

  • @vanm3918
    @vanm3918 3 месяца назад

    Can i get the code please

  • @developerbicads5892
    @developerbicads5892 Год назад +1

    can you show login using redux...please...!!!

  • @OmTagalpallewar
    @OmTagalpallewar 5 месяцев назад

    can you please provide codes of all files

  • @sarthakpathak8020
    @sarthakpathak8020 Год назад +2

    source code bhi dal diya karo
    😔

  • @ayushlodha-rz2yd
    @ayushlodha-rz2yd 4 месяца назад

    im getting axios error

  • @venkyammu9145
    @venkyammu9145 Год назад +1

    when i will submit data
    password field does not match

    • @codewithyousaf
      @codewithyousaf  Год назад

      one thing I should recommend you that always use condole.log OK. when you get data from front-end check that in console you got the data or not also if your are getting from database check that the data received or not if didn't then check where is the problem.

    • @codewithyousaf
      @codewithyousaf  Год назад

      console.log

    • @yousraramadan4222
      @yousraramadan4222 Год назад +1

      @@codewithyousaf i have the same issue ... how can i make him get the email and password from database

    • @codewithyousaf
      @codewithyousaf  Год назад

      @@yousraramadan4222 because the password field is validated the password should contain at lease on small char one capital and number at least 8 chars

    • @yousraramadan4222
      @yousraramadan4222 Год назад +1

      @@codewithyousaf thank you for replaying so quickly ;) but my pass is 'ABCabc1236' .... when i run the code >>he gave me
      "Password didn't match" and i dont know why can you help me plz

  • @sambotsector4614
    @sambotsector4614 2 месяца назад

    Can you please share the source code?

  • @ongocthien3090
    @ongocthien3090 11 месяцев назад +1

    when i click Signup, but it doesn't execute

    • @codewithyousaf
      @codewithyousaf  11 месяцев назад

      that has problem you can solve that like this :
      instead of {setErrors(Validation(values)}
      write like this:
      const err = Validations(values);
      setErrors(err);
      if(err.name === "" && err.email === "" && err.password === "")

    • @ongocthien3090
      @ongocthien3090 11 месяцев назад

      @@codewithyousaf yes, i have

    • @patelkeyur7240
      @patelkeyur7240 8 месяцев назад +1

      Hey brother....you solve the error?

    • @ongocthien3090
      @ongocthien3090 8 месяцев назад

      @@patelkeyur7240 yes

    • @codewithyousaf
      @codewithyousaf  8 месяцев назад

      @@patelkeyur7240 your sign up button need to be pressed twice or it doesn't work.
      If it need twice then check the above comment I provided the solution.

  • @visalofficial1615
    @visalofficial1615 Год назад +1

    Why not use react (tsx)?

    • @andelsonnicolaslopezysabel2501
      @andelsonnicolaslopezysabel2501 Год назад +1

      Well in you're working on a project with a team you must use it, but for React it doesn't matter 'cause by itself can understand what's inside the file, You should use appropriate extension when somebody else needs to know what type of code is inside

  • @amoap603
    @amoap603 Год назад +1

    how to know what port number i should listen to?

    • @codewithyousaf
      @codewithyousaf  Год назад

      check your code which one you written or check in the terminal

    • @ominhsang9824
      @ominhsang9824 Год назад +1

      @@codewithyousaf Can u tell me how to check the port number ?

    • @codewithyousaf
      @codewithyousaf  Год назад

      @@ominhsang9824 check your server side file which port you assigned there

    • @iamrabiabalouch
      @iamrabiabalouch Год назад +1

      You can use any port no

    • @codewithyousaf
      @codewithyousaf  Год назад

      @@iamrabiabalouch Yes, what you assign you can use that

  • @AliyawarFarzam
    @AliyawarFarzam 9 месяцев назад +1

    may i get this code?

    • @codewithyousaf
      @codewithyousaf  9 месяцев назад

      www.buymeacoffee.com/codewithyousaf/login-registration-form-using-react-node-js-mysql

  • @user-jp7zx5mp9q
    @user-jp7zx5mp9q 9 месяцев назад +1

    Aoa i want code any link for that?

    • @codewithyousaf
      @codewithyousaf  9 месяцев назад

      www.buymeacoffee.com/codewithyousaf/login-registration-form-using-react-node-js-mysql

    • @singhsai9870
      @singhsai9870 8 месяцев назад +1

      @@codewithyousaf while i am trying my data was not inserting to the database can you help and not retrieving also

    • @codewithyousaf
      @codewithyousaf  8 месяцев назад +1

      @@singhsai9870check connection with db

  • @gamerad6934
    @gamerad6934 2 месяца назад

    bhai source code de sakte ho kya

  • @decimo937
    @decimo937 Год назад +1

    Please share the code

    • @codewithyousaf
      @codewithyousaf  Год назад +1

      www.buymeacoffee.com/codewithyousaf/login-registration-form-using-react-node-js-mysql

  • @chanchleshaharwar
    @chanchleshaharwar Год назад

    Give the source code 🌪️

  • @HalalBiceps203
    @HalalBiceps203 5 месяцев назад

    Source code bro