DEV Community

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

Collapse
 
saulojoab profile image
Saulo Joab

Storing data is pretty easy as well. The main difference is that you'll need to make a POST request instead of a GET request. So it would be app.post instead of app.get.

You'll also need to install body parser so you can get your requisition body (ex: the field values) with NodeJS. I'm super busy right now so I can't make a new tutorial, but I'll make one as soon as I can :)

Collapse
 
cphilipse profile image
CPhilipse

Super curious to see how you would do this. I found this article really helpful, but expanding it to where you can store and update these things, is something I haven't figured out yet. Can't wait!