Take data from database using Postgres

I was building an app right now using Ionic 3. I want to take data from database using Postgres. What should i do now? Make an API? is there any reference?

Thank you in advance

Yes, you need a server. If you like javascript, you could use Node/Express rest api and Sequelize to link Postgres with your client side app. But there are many options depending on what backend language and tools you prefer.

Hello, depends if you need a web api or so.
On a general angural case, for example, it often needed (i’m an angular pro now).
And now you will call like RTDB (real time database) in production.

Have fun with ionic
Francois