feathers-google-push
v0.0.1
Published
A Feathers plugin to support Apple push notifications
Downloads
5
Readme
feathers-google-push
A Feathers plugin to support Google push notifications
This module was just generated using a template and is not ready for use.
Installation
npm install feathers-authentication --save
Documentation
Please refer to the feathers-google-push documentation for more details.
Complete Example
Here's an example of a Feathers server that uses feathers-google-push
.
const feathers = require('feathers');
const rest = require('feathers-rest');
const hooks = require('feathers-hooks');
const bodyParser = require('body-parser');
const errorHandler = require('feathers-errors/handler');
const plugin = require('feathers-google-push');
// Initialize the application
const app = feathers()
.configure(rest())
.configure(hooks())
// Needed for parsing bodies (login)
.use(bodyParser.json())
.use(bodyParser.urlencoded({ extended: true }))
// Initialize your feathers plugin
.use('/plugin', plugin())
.use(errorHandler());
app.listen(3030);
console.log('Feathers app started on 127.0.0.1:3030');
Changelog
0.1.0
- Initial release
License
Copyright (c) 2015
Licensed under the MIT license.