Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nisaacson/api-auth
Use couch-profiles to perform basic auth in express apps
https://github.com/nisaacson/api-auth
Last synced: about 1 month ago
JSON representation
Use couch-profiles to perform basic auth in express apps
- Host: GitHub
- URL: https://github.com/nisaacson/api-auth
- Owner: nisaacson
- Created: 2013-03-12T05:12:09.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-03-17T00:53:21.000Z (over 11 years ago)
- Last Synced: 2024-04-15T11:14:56.761Z (7 months ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Use couch-profiles to perform basic auth in express apps
# Tests
First install all the dev dependencies with `npm install` and then execute
```bash
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
```bash
[sudo] npm install -g couchdb-update-views
couchdb-update-views --docsDir node_modules/couch-profile/docs --config test/config.json`
```