How to use Google push notification by Google drive APIs in Electron application?


I am trying to receive Google push notifications on changes of files or one file in my drive using Electron, how do I do that? I have tried following but turn out I have register my domain, any idea how do I do that? Thanks in advance