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?
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
New contributor
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.
add a comment |
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
New contributor
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.
add a comment |
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
New contributor
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
javascript node.js reactjs react-native backend
New contributor
New contributor
edited Mar 7 at 6:54
Paras Korat
643221
643221
New contributor
asked Mar 7 at 5:21
Saurav VohraSaurav Vohra
212
212
New contributor
New contributor
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.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
add a comment |
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
add a comment |
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
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
answered Mar 7 at 5:30
sathish kumarsathish kumar
36528
36528
add a comment |
add a comment |