How to connect ionic app with localhost


I’m new in Ionic. I’m trying to desing an app with connection to a mysql database (At the moment, local database managed with XAMPP). I’m using my device to test the app. I need a way to connect the device with my database (loaded in the notebook). It’s possible this? I searched examples but didn’t understand any jaja.

Thank you very much for your help and forgive me for my poor English :slight_smile:

This is typically done via a REST interface.

Any examples? Please

There is an open-source example of interacting with a REST backend at

One example endpoint is in the file

Thanks to all! I can result the problem (Sorry for the delay in answering, I had a lot of work to do :weary: )