This is a basic node example app that goes along with the companion blog post.
$ npm install
Open up config/default.json
and update the settings in the file with the settings that match your environment.
To register your device run the register script:
$ npm run register
To send a push notification run the start script:
$ npm start