How to show Local notification by own backed?

Hello there. I need to show notification in my ionic app. I have my own backed and i will call a service for every 10 seconds and fetch data. If Data exist then i have to show local notification. I search for Local as well as push notification, but not find any solution. Please help. It should also work when app is not open. in ionic 4