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

Поделиться
HTML-код
  • Опубликовано: 26 июн 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.
  • НаукаНаука

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

  • @lazys7151
    @lazys7151 3 месяца назад +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  3 месяца назад

      Thnx. You can check out other videos too.

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

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

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

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

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

    You saved my life ❤❤

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

    thank you sir so much

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

    Great bro u r superb

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

    Muchas gracias profe

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

    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?

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

    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  23 дня назад +1

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

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

    thank you master

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

    Master TY

  • @user-gm6lc4pk6w
    @user-gm6lc4pk6w 23 дня назад

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

    • @thedebugarena
      @thedebugarena  23 дня назад

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

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

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

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

      I am creating API to perform login authentication.

  • @WarriorBeastYT
    @WarriorBeastYT 4 месяца назад +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 3 месяца назад

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

    • @thedebugarena
      @thedebugarena  3 месяца назад +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 3 месяца назад

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

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

    Bhai ram and pc information ℹ️

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

      8 gb Ram, Dell inspiron 13, 500 gb SDD

  • @muskanverma-ep5tb
    @muskanverma-ep5tb 2 месяца назад

    I am getting Axios network error how to solve it

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

      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

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

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

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

      It would be same it should work with that also.

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

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

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

      Yes, good question

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

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

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

      @@thedebugarena Sure

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

    mera regristaion fail kri ja rha ha

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

      Kya issue aa rha h

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

      @@thedebugarena hogyaa IP address system ka nhi network ka use krke houa

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

      @@lokeshchauhan6253 👍👍

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

    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...