Skip to content

Encapsulated routes and resources for managing users in flatiron HTTP apps

Notifications You must be signed in to change notification settings

flatiron/http-users

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

License: MIT

About

Encapsulated routes and resources for managing users in flatiron HTTP apps

Resources

Stars

Watchers

Forks

Packages

No packages published