I am trying to link my mysql database with my react native application similar to React Native and Mysql Connection. The question I have is probably dumb but I cannot find an answer to it so.... how do I get my backend node js script which makes requests to my database to open automatically and run in the background as soon as the react native application is launched. I don't want the user to need to somehow open this script separately or run it on a computer on the network, I want to be able to use expo go on my phone to run my react native application and the node js script to automatically run in the background so I can grab data from it in my react native application. Is this even possible?
mysqldatabase kept? And is there a special reason why you'd want to run a node server locally on a client device? The "normal way" of doing things is to host your database and node instance on servers accessible through the internet, and a client app (ie your React Native build) will communicate with them via API's.