1

hi I am new to react native but I wish to connect my iOS app with the phpmyadmin database anyone can share the idea how should I do. thanks a lot

d.chan
  • 136
  • 9

1 Answers1

0

You mean MYSQL database. You can use PHP to create and serve a REST API which you can access from React Native with Fetch or Axios. I've done this on many IOS apps and web apps. You can also use existing frameworks or CMS systems that have a built in rest API, like Laravel or Wordpress.

Build your own: How to write a REST API?

Laravel: https://laravel.com/docs/9.x/eloquent-resources

Wordpress: https://developer.wordpress.org/rest-api/

More on REST API's: What exactly is RESTful programming?

mediaguru
  • 1,807
  • 18
  • 24