DEV Community

Discussion on: How to get data from an MySQL database in React Native

 
saulojoab profile image
Saulo Joab

I'm also a newbie, don't worry.

If you want other people to use your app, all you gotta do is host your database and your NodeJS server somewhere.
Tip: You can host your Node server on Glitch or Heroku for free.

Then, instead of inserting your computer ip on the fetch function, you would insert the hosted Node server URL :)

I highly recommend you to study node, and also to check out Heroku and Glitch.

Thread Thread
 
cphilipse profile image
CPhilipse

Okay, that makes so much sense. I'll definitely check it out. Appreciate your help man!