#3 Login and Registration Authentication in React using Node JS and Mongo DB-1 | Learn MERN Stack

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

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

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

    Thankyou Adarsh 😂, from getting help in person to getting help from your videos, we've been a long way😂

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

      Nostalgia🥺🔥

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

    One of the best explanation on mern
    And the the teaching level is outstanding ❤️

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

    Just finished liked it very much no loved it easy to follow and understand thanks so much may God bless you

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

    you came in my recommendation like a god! Thanks keep making videos this playlist help me alot.

  • @4444-c4s
    @4444-c4s ปีที่แล้ว +3

    Best explanation brother...Keep it up.

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

    Keep it up 👍
    From Bahawalpur Pakistan.

  • @旭-o6f
    @旭-o6f 2 ปีที่แล้ว +3

    The explanation is very clear, looking forward to the next film

    • @thedebugarena
      @thedebugarena  2 ปีที่แล้ว

      Tysm, that you liked it. Next video will be out tomorrow.

  • @ИванИванов-э3г7с
    @ИванИванов-э3г7с ปีที่แล้ว +2

    Can you explain in details how should I start that react application once I have donwloaded the UI form (Only UI) and made the code changes that you are doing in the video?

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

      You can first clone that then run npm install then npm start this will do the job

  • @LenaE-pp7yx
    @LenaE-pp7yx ปีที่แล้ว

    Your tutorial helped me a lot, thank you so much for your work!

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

    You saved me sir with this video. But I have one doubt that where test database was created and how collections are being stored in test database ?

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

      You can watch previous 2 videos for that

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

      @@thedebugarena yes sir I have watched them but not able to find the line of code which is creating test database

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

      @@layasrimarisetti7555 it is schema and then using create method

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

      @@thedebugarena Yes sir , with that we defining a collection in test database. I want to give different name to database , so I want to know the line of code where we are giving name to the database , so that I can change it.

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

      @@layasrimarisetti7555 its in schema you can see after we define name, email and password we give name kf the collection you just have to create that new one

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

    thanks bro,great explanation!!

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

    after all files setting the backend file also run in command promot it is connected to monosedb ok thats fine when i sign in fill the details it giving my something is error ... and i use ur mongose url the data is posting and signup is working but when i using my url its giving something is wrong can you pls tell me why

  • @EDWIN-zg4yu
    @EDWIN-zg4yu ปีที่แล้ว

    Excelent video, congrats man

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

    what about if my website has two different users? admin and employee?

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

      1. The most common way is to create admin login at other location.
      2. You can give radio button register as admin or user. If you select admin then there create one extra input which accept a secret key that has been set by you only. Then if user try to register as admin he wouldn't but you will.

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

    2022 and you are using class components, anyway good video

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

      What would a more appropriate solution be? Thanks

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

    bro I can't do it step by step, when I clone from github it goes straight to the end

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

      Check in that git repo you can find code for each commit. Or dm me on instagram i will share with you.

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

    how to see the page? i'm confused

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

    Bro I have a problem When I am hitting url postman to mongodb its showing the output
    But when i am register the frontend form to mongodb its don't show any ouput on mongodb
    please help me bro it's urgent

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

    in user registration when I'm trying to register it's not accept the data in console it's showing only error

    • @thedebugarena
      @thedebugarena  2 ปีที่แล้ว

      Dm me on insta

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

      bro Iam getting same error , did you resolved it?

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

      @@narsimhareddy4742 dm me on insta his error was resolved

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

      @@thedebugarena insta Id?

    • @Jerry-jiya
      @Jerry-jiya ปีที่แล้ว

      ​@@thedebugarena getting same error

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

    Why you used class components

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

    can u explain line 12,which wrote for binding

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

      Yes as i am using class component when we create a function we have to bind them in constructor to make sure the function will be available for all the component inside main class. In functional component you don't need to bind them. I hope it help.

    • @j.i.m6980
      @j.i.m6980 ปีที่แล้ว +1

      You can also use arrow function when invoking function to avoid binding

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

    Good job buddy 🔥🔥🔥👍👌

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

    Where do I found same thing with functional component??

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

      I have not made it on functional component but you can find code which is written in functional

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

    Noice

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

    Man!!!!!
    I will kiss you!!!!
    Thank you for lesson!
    You helped me a lot! with mongoose connect

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

    good explanation

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

    When clicked signup it shows error 'userRegister' what is the problem

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

      Dm me your error on instagram

    • @avinashkumar-x8y8e
      @avinashkumar-x8y8e ปีที่แล้ว

      bro i am facing same canu tell me whats the error

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

    Brother please do more videos please

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

    bhot hard bhai love u

  • @AkarKamal-l1o
    @AkarKamal-l1o ปีที่แล้ว

    Very Useful video

  • @Jk-it8cl
    @Jk-it8cl ปีที่แล้ว

    2:08 , can we use the state as this============> state={fname : " ",lname : " ",email : " ",password : " "} , rather then using the constructor

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

    Hi Can you tell me my reset password is not working I am getting an error of "Error: Illegal arguments: object, number" on this line const encryptedPassword = await bcrypt.hash(password, 10); How can solve that please help me

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

      Try the solution which i have told you otherwise ping me on instagram

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

    How do you get mongodb URL pls, connecting with mongodb on cloud is giving me iasue

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

      Watch previous video or dm me on insta

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

    Thanks it is very useful

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

    would you tell me what theme you are using

  • @LoneWolf-yr7zp
    @LoneWolf-yr7zp ปีที่แล้ว

    Why are you using class components?

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

      It is not like i can't use functional component but due to some reason
      I.e. 1. I am much more comfortable with hooks but class component makes us little uncomfortable because for some task it take multiple step. So, for beginner it will make easy for you in future if you understand class component well.
      2. I haven't made ui i downloaded it from github and that was in class component.

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

    awesome dude

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

    Iam getting status error in the console every time I try to signup , what should I do to resolve this issue?

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

      Something might be went wrong check in the console of node

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

      @@thedebugarena it's showing
      node:internal/errors:465
      Cannot set headers after they are sent to the client

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

      @@narsimhareddy4742 dm me on insta

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

      @@thedebugarena insta id?

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

      @@narsimhareddy4742 the_debug_arena

  • @nishthajoshi8812
    @nishthajoshi8812 2 ปีที่แล้ว

    I am receiving Axios "Network Error" while posting the data..
    Can anyone help...

    • @thedebugarena
      @thedebugarena  2 ปีที่แล้ว

      It might be you haven't started the node server or the url you entered will be wrong

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

      @@thedebugarena The same problem here. I have the correct URL and the server is running and still not working

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

      @@traveltourwithalbertceo1003 it might be due to header you passed try in postman or dm me on instagram

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

      @@thedebugarena Thank you so much for your quick response but which header are you talking about. Thanks

  • @weiping3892
    @weiping3892 2 ปีที่แล้ว

    can i know why didnt use the nest new npm to create the backend?

  • @julianhuertas6101
    @julianhuertas6101 2 ปีที่แล้ว

    How i can change route without reload the page?

  • @abdulRehman-px4ou
    @abdulRehman-px4ou 2 ปีที่แล้ว

    where are the other lectures 01 and 02 are not here

    • @thedebugarena
      @thedebugarena  2 ปีที่แล้ว

      They are there check in playlist

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

    can u explain,how to write functional component,at line 12

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

      If you are talking about handlesubmit.bind then in functional component there is no need to bind it. Function will directly work

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

      @@thedebugarena ok

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

      @@thedebugarena bro one dought,for making the UI design ,for both login and signup,i need to maintain two separate css files for both login and signup or else i need to manage only in single App.css File

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

      @@karunakarkoyada69 both works

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

      @@thedebugarena ok

  • @ManojKumar-ku8tv
    @ManojKumar-ku8tv 2 ปีที่แล้ว +1

    good

  • @kyong444
    @kyong444 2 ปีที่แล้ว

    I need ms sql or my sql connection not mongo db

    • @thedebugarena
      @thedebugarena  2 ปีที่แล้ว

      You can do that easily

    • @thedebugarena
      @thedebugarena  2 ปีที่แล้ว

      Keep the api in same way but instead of function of Mongo db like create delete use insert, find of my sql

    • @kyong444
      @kyong444 2 ปีที่แล้ว

      @@thedebugarena plz I need another page only for my sql

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

    In sign up component,can u explain the code from line no:3 to 11

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

      There i have created state for my data i.e. first name, email, etc

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

    that rewind sound🤣🤣🤣🤣

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

    plzz next part

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

    pls help me sir

  • @gowthamwind
    @gowthamwind 2 ปีที่แล้ว

    get subscribed for git rep 📦

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

    i hate class component.....

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

      You can download code from git they are in functional

  • @trendszz
    @trendszz 2 ปีที่แล้ว

    I am getting this error -
    POST localhost:3000/register 404 (Not Found)
    Please help me in this.

    • @thedebugarena
      @thedebugarena  2 ปีที่แล้ว

      R u getting this on react or on postman

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

    after all files setting the backend file also run in command promot it is connected to monosedb ok thats fine when i sign in fill the details it giving my something is error ... and i use ur mongose url the data is posting and signup is working but when i using my url its giving something is wrong can you pls tell me why

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

    after all files setting the backend file also run in command promot it is connected to monosedb ok thats fine when i sign in fill the details it giving my something is error ... and i use ur mongose url the data is posting and signup is working but when i using my url its giving something is wrong can you pls tell me why

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

    after all files setting the backend file also run in command promot it is connected to monosedb ok thats fine when i sign in fill the details it giving my something is error ... and i use ur mongose url the data is posting and signup is working but when i using my url its giving something is wrong can you pls tell me why

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

    after all files setting the backend file also run in command promot it is connected to monosedb ok thats fine when i sign in fill the details it giving my something is error ... and i use ur mongose url the data is posting and signup is working but when i using my url its giving something is wrong can you pls tell me why

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

    after all files setting the backend file also run in command promot it is connected to monosedb ok thats fine when i sign in fill the details it giving my something is error ... and i use ur mongose url the data is posting and signup is working but when i using my url its giving something is wrong can you pls tell me why

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

    after all files setting the backend file also run in command promot it is connected to monosedb ok thats fine when i sign in fill the details it giving my something is error ... and i use ur mongose url the data is posting and signup is working but when i using my url its giving something is wrong can you pls tell me why