plott-mongo

0.0.1 • Public • Published

plott-mongo

build status

Creates connection, database and all necessary collections, indexes and models used by Plott.

plott.mongo(conn, db)

Creates connection to MongoDB database.

Parameters

parameter type description
conn String MongoDB connection uri "mongodb:///". Default ('mongodb://localhost/')
db String database name. Default ('Plott')

Example

plott.mongo();
 
//=mongoose

Returns Object, mongoose

Installation

Requires nodejs.

$ npm install plott-mongo

Tests

$ npm test

Readme

Keywords

Package Sidebar

Install

npm i plott-mongo

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • cwhite911