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

                    Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite

                    Understanding generators in Python2019 Community Moderator ElectionGenerator function not working pythonFor loop not executing two timesGenerators - Printing generated valuesWhy can a python generator only be used once?What exactly do generators do?What does the “yield” keyword do?What does “list comprehension” mean? How does it work and how can I use it?sklearn Kfold acces single fold instead of for loopIs a generator the callable? Which is the generator?Apply Border To Range Of Cells Using OpenpyxlCalling an external command in PythonWhat are metaclasses in Python?What is the difference between @staticmethod and @classmethod?Finding the index of an item given a list containing it in PythonDifference between append vs. extend list methods in PythonHow can I safely create a nested directory in Python?Does Python have a ternary conditional operator?Understanding slice notationUnderstanding Python super() with __init__() methodsDoes Python have a string 'contains' substring method?

                    How can I change the color of pagination dots of UIPageControl?How to change UIPageControl dotsIs there a way to change page indicator dots colorCustomize dot with image of UIPageControl at index 0 of UIPageControlNo visible @interface for 'NSObject<PageControlDelegate>' declares the selector 'pageControlPageDidChange:'How to change the color of pagination dots in UIPageControl with a different color per pagepagecontrol indicator custom image instead of DefaultChanging the colour of UIPageControl dots in MonoTouchpagecontrol selectable page visibility color?Alternative way to load ViewControllers on a UIPageControlHow to set only layer.border-color for UIpage control dots in swiftHow can I develop for iPhone using a Windows development machine?How to change the name of an iOS app?UITableView - change section header coloruipagecontrol indicator(dot)issueCustom UIPageControl dots color not changingchange the interspace between UIPageControl dotsHow to change Status Bar text color in iOSHow can I change image tintColor in iOS and WatchKitUIPageControl dots with larger space in between each dotsHow to change the color of pagination dots in UIPageControl with a different color per page