admit-one-mongo

0.2.0 • Public • Published

Admit One Mongo

NPM version Build status Code Climate Coverage Status Dependencies devDependencies

Admit One adapter for MongoDB.

Install

npm install admit-one admit-one-mongo

Usage

var admit = require('admit-one')('mongo', {
  mongo: {
    db: 'mongodb://localhost/dbname'
  }
});

Once you have created an instance, see the main Admit One page for details on how to set up your routes with Express.

API

admit([options])

options.mongo.db

Type: String
Default: undefined

options.mongo.collection

Type: String
Default: 'users'

License

This project is distributed under the MIT license.

Dependents (0)

Package Sidebar

Install

npm i admit-one-mongo

Weekly Downloads

0

Version

0.2.0

License

MIT

Last publish

Collaborators

  • wbyoung