Communication between my react-native file and server.js [on hold]2019 Community Moderator ElectionHow can I upload files asynchronously?What's the difference between using “let” and “var” to declare a variable in JavaScript?How do I include a JavaScript file in another JavaScript file?What is the difference between call and apply?Writing files in Node.jsWhat's the difference between dependencies, devDependencies and peerDependencies in npm package.json file?What's the difference between tilde(~) and caret(^) in package.json?Loop inside React JSXWhat is the difference between using constructor vs getInitialState in React / React Native?What is the difference between React Native and React?

What are some noteworthy "mic-drop" moments in math?

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

How many characters using PHB rules does it take to be able to have access to any PHB spell at the start of an adventuring day?

Is this Paypal Github SDK reference really a dangerous site?

What stops an assembly program from crashing the operating system?

Vocabulary for giving just numbers, not a full answer

Outlet with 3 sets of wires

What will happen if my luggage gets delayed?

Determining optimum shared school bus route to a single destination from multiple origin points

How to check whether module is loaded with custom configurations?

When a wind turbine does not produce enough electricity how does the power company compensate for the loss?

Do items de-spawn?

Professor forcing me to attend a conference, I can't afford even with 50% funding

Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?

How does Ehrenfest's theorem apply to the quantum harmonic oscillator?

Why restrict private health insurance?

Why aren't there more Gauls like Obelix?

Can't make sense of a paragraph from Lovecraft

Minimizing with differential evolution

Why is a very small peak with larger m/z not considered to be the molecular ion?

How exactly does an Ethernet collision happen in the cable, since nodes use different circuits for Tx and Rx?

How to resolve: Reviewer #1 says remove section X vs. Reviewer #2 says expand section X

I reported the illegal activity of my boss to his boss. My boss found out. Now I am being punished. What should I do?

Why does cron require MTA for logging?



Communication between my react-native file and server.js [on hold]



2019 Community Moderator ElectionHow can I upload files asynchronously?What's the difference between using “let” and “var” to declare a variable in JavaScript?How do I include a JavaScript file in another JavaScript file?What is the difference between call and apply?Writing files in Node.jsWhat's the difference between dependencies, devDependencies and peerDependencies in npm package.json file?What's the difference between tilde(~) and caret(^) in package.json?Loop inside React JSXWhat is the difference between using constructor vs getInitialState in React / React Native?What is the difference between React Native and React?










4















I'm working on a project with react native, express and MongoDB.
When I click the submit button, I want my string to be passed to server.js where I can implement my get-request. Basically, I'm unable to create communication between react-native-js file and node-js file. I'm using react-native-router-flux for navigation.










share|improve this question









New contributor




Saurav Vohra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as too broad by Vogel612, Gilles Gouaillardet, Pablo Cegarra, Tiw, greg-449 Mar 7 at 8:10


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






















    4















    I'm working on a project with react native, express and MongoDB.
    When I click the submit button, I want my string to be passed to server.js where I can implement my get-request. Basically, I'm unable to create communication between react-native-js file and node-js file. I'm using react-native-router-flux for navigation.










    share|improve this question









    New contributor




    Saurav Vohra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.











    put on hold as too broad by Vogel612, Gilles Gouaillardet, Pablo Cegarra, Tiw, greg-449 Mar 7 at 8:10


    Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.




















      4












      4








      4








      I'm working on a project with react native, express and MongoDB.
      When I click the submit button, I want my string to be passed to server.js where I can implement my get-request. Basically, I'm unable to create communication between react-native-js file and node-js file. I'm using react-native-router-flux for navigation.










      share|improve this question









      New contributor




      Saurav Vohra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I'm working on a project with react native, express and MongoDB.
      When I click the submit button, I want my string to be passed to server.js where I can implement my get-request. Basically, I'm unable to create communication between react-native-js file and node-js file. I'm using react-native-router-flux for navigation.







      javascript node.js reactjs react-native backend






      share|improve this question









      New contributor




      Saurav Vohra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Saurav Vohra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited Mar 7 at 6:54









      Paras Korat

      643221




      643221






      New contributor




      Saurav Vohra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Mar 7 at 5:21









      Saurav VohraSaurav Vohra

      212




      212




      New contributor




      Saurav Vohra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Saurav Vohra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Saurav Vohra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      put on hold as too broad by Vogel612, Gilles Gouaillardet, Pablo Cegarra, Tiw, greg-449 Mar 7 at 8:10


      Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









      put on hold as too broad by Vogel612, Gilles Gouaillardet, Pablo Cegarra, Tiw, greg-449 Mar 7 at 8:10


      Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
























          1 Answer
          1






          active

          oldest

          votes


















          2














          Procedure One : you need to develop the backend using node+express
          the backend should expose the api endpoints like this ->
          http://serverRunningurl/auth/usersignin



          Procedure Two : you need to access those endpoints via your react-native side..
          lots of client side http libraries out there , use axios,



          Try this reference first : The MERN Stack Tutorial






          share|improve this answer





























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            Procedure One : you need to develop the backend using node+express
            the backend should expose the api endpoints like this ->
            http://serverRunningurl/auth/usersignin



            Procedure Two : you need to access those endpoints via your react-native side..
            lots of client side http libraries out there , use axios,



            Try this reference first : The MERN Stack Tutorial






            share|improve this answer



























              2














              Procedure One : you need to develop the backend using node+express
              the backend should expose the api endpoints like this ->
              http://serverRunningurl/auth/usersignin



              Procedure Two : you need to access those endpoints via your react-native side..
              lots of client side http libraries out there , use axios,



              Try this reference first : The MERN Stack Tutorial






              share|improve this answer

























                2












                2








                2







                Procedure One : you need to develop the backend using node+express
                the backend should expose the api endpoints like this ->
                http://serverRunningurl/auth/usersignin



                Procedure Two : you need to access those endpoints via your react-native side..
                lots of client side http libraries out there , use axios,



                Try this reference first : The MERN Stack Tutorial






                share|improve this answer













                Procedure One : you need to develop the backend using node+express
                the backend should expose the api endpoints like this ->
                http://serverRunningurl/auth/usersignin



                Procedure Two : you need to access those endpoints via your react-native side..
                lots of client side http libraries out there , use axios,



                Try this reference first : The MERN Stack Tutorial







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 7 at 5:30









                sathish kumarsathish kumar

                36528




                36528















                    Popular posts from this blog

                    Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

                    2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

                    Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme