saltnpepa

1.0.0 • Public • Published

Salt-n-Peppa

A Node.js push notifications server for the open web

this is an express.js based project that currently uses MongoDb for the datastore. Currently this project only supports Firebase Cloud Messaging Service (previously Google Cloud Messaging Service). Apple, Windows, and Firefox support coming soon.

Installation

after cloning this repository install the dependencies

 $ npm install

Prerequisites

  • MongoDb Installation
  • SSL Certificate
  • FireBase Cloud Messaging API Key

Configuration

Create a javascript file named development.js and save it to config/env/

module.exports = {
    appPort: 8443,
    db: 'mongodb://username:password@localhost/database',
    sslKey: '/path/to/server.key',
    sslCert: '/path/to/server.crt',
    sslCA: '/path/to/server.csr',
    sessionSecret: '<SecretSessionPath>',
    gcmAPI: '<ChangeMe>'
};

Start Server

$ npm run start

Getting Started

Once the service is up and running the administration can be reached at https://localhost:8443/dashboard and the subscription demo can be reached at https://localhost:8443.

Dependencies (15)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i saltnpepa

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • owilliams320