Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

  1. Check out project

  2. Run npm install

  3. Add cert.pem and key.pem to root folder

  4. Add device token to /api/controllers/TestController.js

  5. Start server with node app.js

Important pieces

  • /config/bootstrap.js -- configures and starts the connection with APNs and adds the connection object to the sails app object
  • /api/controllers/TestController.js -- contains a web service endpoint /test/foo that attempts to send a notification with pushNotification()

About

Sample project using Sails and node-apn to send Apple Push Notifications

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages