flatiron-http-users

Encapsulated routes and resources for managing users in flatiron HTTP apps

flatiron-http-users

Encapsulated routes and resources for managing users in flatiron HTTP apps

  • "list all users"
  • "modify permissions"
  • "confirm users"
  $ curl http://npmjs.org/install.sh | sh
  $ [sudo] npm install flatiron-http-users

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