#10 Login Register Authentication in React Native with Node JS, Express JS and Mongo DB ||

Sdílet
Vložit
  • čas přidán 19. 06. 2024
  • Hello guys,
    In this video I have focused on making our login and register page functional. In this video I have made register api and made our register page functional. In the next video I will focus on login.
    If you are facing any issue then let me know in comments.
    0:00 - Introduction / Demo
    1:47 - Setup Node JS
    3:05 - Install Express
    3:40 - First API
    7:53 - Integrate Mongo DB
    10:53 - Create Register API
    17:15 - Call API from React JS
    22:00 - Encrypt Password
    22:57 - Handle Response in React JS
    Thank You.
  • Věda a technologie

Komentáře • 39

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

    THANK YOU! 3 days couldnt do this authentication and your video just helped me to get through this. Bless you, my friend))

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

      Thnx. You can check out other videos too.

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

    brother your teaching skills is too awesome anyone can easily understand☺😊😊

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

    thank you so much your videos are amazing i understand everything and they work just fine ❤

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

    thank you sir so much

  • @mayurasandakalumsellapperu6778

    You saved my life ❤❤

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

    Great bro u r superb

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

    Muchas gracias profe

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

    thank you master

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

    Master TY

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

    Some suggestions for you, try to use proper folder structure for better understandings, like use MVC(Model, View, Controller) and dotenv also gitignore.

    • @thedebugarena
      @thedebugarena  Před 15 dny +1

      Thank you for the feedback! I'll definitely keep that in mind.

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

    hey man can you help me out? I'm trying to do the axios post request to login, but I keep getting this error (only after typing into one of the text frields):
    [TypeError: cyclical structure in JSON object]
    Any idea what can cause this?

  • @user-gm6lc4pk6w
    @user-gm6lc4pk6w Před 16 dny

    Nice video!
    Where I can find your background for the profile user? its look pretty

    • @thedebugarena
      @thedebugarena  Před 15 dny

      Thanks!! These backgrounds are called as BLOB. I have used MagicPattern to generate this.

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

    Are you using Rest API in this project or something similar to Rest API?

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

      I am creating API to perform login authentication.

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

    what if i build this app then i can't do npm start for the index.js to start the port ,what should i do then ? (am new to react and all :) )

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

    normally after the user register he should be logged in automatically no?

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

      Yes you are correct. But this playlist is mostly for beginners so I don't want to complicate things. If you want to do login after register you can call that api in same function make sure to verify all conditions based on response.

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

      @bilelrahmouni01 you have to implement email verification in order to login the user.

  • @the_bat_man
    @the_bat_man Před měsícem +1

    What if we use expo go in our mobile . What would be the ip then ??

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

      It would be same it should work with that also.

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

      @@thedebugarena actually it is not working in expo go app. Can you suggest anything please..??

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

      Yes, good question

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

      @@the_bat_man can you dm me on instagram we can solve the issue there

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

      @@thedebugarena Sure

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

    Bhai ram and pc information ℹ️

  • @muskanverma-ep5tb
    @muskanverma-ep5tb Před měsícem

    I am getting Axios network error how to solve it

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

      You can try testing your api from postman if it works there then the problem might be with you react code. If issue is still there you can dm me on instagram

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

    mera regristaion fail kri ja rha ha

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

    F:\MJ\MJS_B
    ode_modules\mongoose\lib\mongoose.js:530
    throw new MongooseError.MissingSchemaError(name);
    ^
    MissingSchemaError: Schema hasn't been registered for model "UserInfo".
    Use mongoose.model(name, schema)
    at Mongoose.model (F:\MJ\MJS_B
    ode_modules\mongoose\lib\mongoose.js:530:13)
    at Object. (F:\MJ\MJS_B\app.js:13:23)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49
    Node.js v20.10.0
    [nodemon] app crashed - waiting for file changes before starting...