#17 Get all data from Mongo db and display it in React Native || Fetch data in MERN & React Native

Поділитися
Вставка
  • Опубліковано 18 лис 2024

КОМЕНТАРІ • 5

  • @unknownstranger8915
    @unknownstranger8915 4 місяці тому

    i have a question, How we change the localhost ip address when i publish the app? if we publish the app what website or online server we suppose to use?

    • @thedebugarena
      @thedebugarena  3 місяці тому

      So whenever you will plan to host the application you first need to host your backend i.e. node JS once you host node JS you will get one link. That link should be placed in frontend code instead of localhost.

  • @orangetelecom6600
    @orangetelecom6600 8 місяців тому

    Hello 👋,
    How can we login as admin and redirect to admin Home without using the radio button as well as for any user ? For example in our database if we have a role column (0 for normal users and 1 for admin). Using this condition, we can easily redirect any user to his dashboard. I can only implement this using Laravel for web development. So help will be useful. Thanks 👍

    • @thedebugarena
      @thedebugarena  8 місяців тому +1

      Correct instead of using radio button you can set user role as 0 or 1 from database or backend and then in laravel handle the navigation as per response.

  • @shanavaas5823
    @shanavaas5823 8 місяців тому

    Thanks bro😇