Ionic 4 connection with Postgres 10

Hello, I’m new with Ionic.
I have a web application and I want to dev the mobile app using Ionic and cordova.
I saw a lot of tutorials but pretty old.
my DB is a postgresql. Do I need to set a REST API to be able to connect it to the app?
Is there any tutorials I can follow to be able to connect my DB with my app??

Hi,

You should always have a a REST API, regardless of what you’re accessing.