如何在sails中configurationnode-pushserver?

我正在用mongodb使用js风格。我需要为android和ios实现推送通知。 我怎么能实现它。 我在网上search了很多关于风帆js的推送通知的东西,但我没有find任何有用的资源在js中实现推送通知。 我尝试了节点推送服务器,但没有得到如何在sails中configurationnode-pushserver,所以任何人都可以帮助我这个。

马克西姆·罗伯特在git hub上得到了我的上面的问题的答案。

在这里,我正在粘贴答案,只是因为它可能对其他面临类似问题的人有用。

Hi, node-pushserver is NOT in sails.js and shouldn't be hard-linked to any other development. It is meant to be used as a standalone application requiring node.js and mongodb as dependencies. Your application should only interact with node-pushserver via its REST API.