Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/FieldDB/AuthenticationWebService
https://github.com/FieldDB/AuthenticationWebService
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/FieldDB/AuthenticationWebService
- Owner: FieldDB
- License: mit
- Created: 2012-09-15T18:36:32.000Z (about 12 years ago)
- Default Branch: main
- Last Pushed: 2023-03-04T03:00:51.000Z (almost 2 years ago)
- Last Synced: 2024-11-11T20:12:39.455Z (about 1 month ago)
- Language: JavaScript
- Size: 3.07 MB
- Stars: 0
- Watchers: 11
- Forks: 5
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- low-resource-languages - AuthenticationWebService - A node.js web service which mananges users and corpora creation and authentication. (FieldDB Webservices/Components/Plugins / Utilities)
README
[![Build Status][travis-image]][travis-url]
[![Coverage Status][coverage-image]][coverage-url]# fieldb-auth
Authentication web services for FieldDB
## Getting Started
Install the module with: `npm install fieldb-auth````javascript
var fieldb_auth = require('fieldb-auth');
```## Documentation & Dev Sandbox
* https://authdev.fielddb.org## Examples
* https://authdev.fielddb.org## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using the scipts in package.json.### Recording tests
Edit your /etc/hosts to add an entry for example.org:
```bash
127.0.0.1 localhost
127.0.0.1 corpusdev.example.org
```Turn on your local couchdb and make sure it is running on http://127.0.0.1:5984/_utils Record tests by adding `.only` on the tests you wish to record:
```bash
$ DEBUG=*user*,*nock*,*replay* REPLAY=record npm test
```As a result you should see a directory corresponding to the server, and files with-in it representing the requests:
```bash
$ tree test/fixtures/
test/fixtures/
└── corpusdev.example.org-5984
└── 154417467505825257
```### Running tests against a given URL
To run tests against the local instance:
```
$ URL=https://localhost:3183 npm test
```## Release History
* v1.16 mongoose auth & everyauth
* v1.32 switched to couchdb
* v1.62 gravatars
* v1.72 server side support for user creation for spreadsheet (without the offline prototype)
* v1.102 support for Learn X users
* v2.12.0 support for psycholinguistics dashboard users and branded emails depending on the client side
* v2.44.22 updated architecture from nodejs 0.6 to 0.12 to build consitent api for v2## License
Licensed under the Apache, 2.0 licenses.[travis-image]: https://travis-ci.org/FieldDB/AuthenticationWebService.svg?branch=master
[travis-url]: https://travis-ci.org/FieldDB/AuthenticationWebService
[coverage-image]: https://coveralls.io/repos/github/FieldDB/AuthenticationWebService/badge.svg?branch=main
[coverage-url]: https://coveralls.io/github/FieldDB/AuthenticationWebService?branch=main