@hoodie/server-account-node-sessions
Account REST API backed by CouchDB
Last updated 4 years ago by hoodie .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @hoodie/server-account-node-sessions 
SYNC missed versions from official npm registry.

hoodie-server-account

Account REST API backed by CouchDB

Build Status Coverage Status Dependency Status devDependency Status

Usage

var Hapi = require('hapi')
var hapiAccount = require('hoodie-server-account')

var options = {
  couchdb: {
    url: 'http://localhost:5984',
    admin: {
      username: 'admin',
      password: 'secret'
    }
  },
  notifications: {
    service: 'gmail',
    auth: {
      user: 'gmail.user@gmail.com',
      pass: 'userpass'
    }
  }
})

server.register({register: hapiAccount}, options, function (error) {});
server.connection({ port: 8000 });
server.start(function () {
  console.log('Server running at %s', server.info.uri);
});

More

License

Apache-2.0

Current Tags

  • 1.0.0                                ...           latest (4 years ago)

1 Versions

  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (8)
Dev Dependencies (10)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |