'How can I integrate a nodejs server in my react-native app?
I'm creating an app with react-native. I also have a node server that can get data from a PostgreSQL database. Now I have to launch the app and the server with two different commands on two different terminals (npm start, node server.js). Is there a way to run the node server on the react-native app in a way that I don't have to launch both the app and the server every time?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|