1.0.4 • Published 12 years ago

api-auth v1.0.4

Weekly downloads
1
License
-
Repository
-
Last release
12 years ago

Use couch-profiles to perform basic auth in express apps

Tests

First install all the dev dependencies with npm install and then execute

npm test

To run the tests you may need to first create the db and needed views. You can easily do this using the couchdb-update-views module. First navigate to the root directory of this module and execute

[sudo] npm install -g couchdb-update-views
couchdb-update-views --docsDir node_modules/couch-profile/docs --config test/config.json`