I am trying to build a blog app. When a new blog is created, I want to deliver a push notification to the iPhone users. But how the server know when to push it when a post is created or a comment created? How to implement this kind of logic here. I know how to send push notification, I am using node-apn module.