Encapsulated routes and resources for managing users in flatiron HTTP apps
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
lib
test
.gitignore
README.md
package.json

README.md

flatiron-http-users

Encapsulated routes and resources for managing users in flatiron HTTP apps

Permissions

  • "list all users"
  • "modify permissions"
  • "confirm users"

Installation

Installing npm (node package manager)

  $ curl http://npmjs.org/install.sh | sh

Installing flatiron-http-users

  $ [sudo] npm install flatiron-http-users

Run Tests

Tests are written in vows and give complete coverage of all APIs and storage engines. If the admin party for CouchDB is set, the AUTH environment variable can be used to pass custom credentials, in the form of user:pwd.

  $ npm test                  # OR run
  $ AUTH=user:pwd npm test

TODO

  • Make memory engine work ( ./fixtures/app/memory.js)
  • Add support for Redis and MongoDB ( ./fixtures/app/mongodb.js) ( ./fixtures/app/redis.js)

Author: Charlie Robbins

License: MIT