How to connect ionic app with localhost

Hi!

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 https://github.com/seiyria/posys

One example endpoint is in the file https://github.com/seiyria/posys/blob/0a90282f6638dc49f2e0e4807227143671c27204/src/client/services/invoice.service.ts

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