apollo-passport-rethinkdbdash
rethinkdbdash driver for apollo-passport
Copyright (c) 2016 by Gadi Cohen, released under the MIT license.
Usage
;; // However you usually create your mongodb instanceconst m = await MongoClient; // Pass to apollo passport at creation timeconst apolloPassport = // along with any other relevant options db: m;
Optional parameters, e.g. if your users
table is called something else:
r userTableName: 'users' configTableName: 'apolloPassportConfig' db: '(override default database given to mongo)';
See apollo-passport for more info.
Create your own DBDriver
This package is fully documented with 100% test coverage. It can be used as a basis for creating other DBDrivers for Apollo Passport.
See also the API Docs, ordered by version and viewable online via rawgit, e.g. v0.0.2 API Docs on RawGit.