Skip to content

Commit

Permalink
simplifying README
Browse files Browse the repository at this point in the history
  • Loading branch information
scott2449 committed Oct 10, 2011
1 parent e0a9635 commit 9b35e8f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,18 @@ connect-mongoose is a mongoDB session store backed by mongoose(http://github.com

via npm:

TBD ... $ npm install connect-mongoose
$ npm install connect-mongoose
# if not already installed
$ npm install connect
$ npm install mongoose

## Options

TBD - See example, until future versions warrant more complex configuration
See example, until future versions warrant more complex configuration

## Example

Keep in mind this module is supposed to help folks already using mongoose leverage it for their sessions, so at the moment it does not spin up it's own instance. In the future I want to have the ability to pass configuration for an instance or it will spin up one by default. Also looking to support authentication etc.. For now that can all be managed by setting up / reusing an existing mongoose connection.
Keep in mind this module is supposed to help folks already using mongoose leverage it for their sessions, so at the moment it does not spin up it's own instance. In the future we may add the ability to pass configuration for an instance or it will spin up one by default. Also looking to support authentication etc.. For now that can all be managed by setting up / reusing an existing mongoose connection.

var connect = require('connect');
var sessionStore = require("connect-mongoose")(connect);
Expand All @@ -40,4 +43,4 @@ Keep in mind this module is supposed to help folks already using mongoose levera

## Tests

TBD
TBD

0 comments on commit 9b35e8f

Please sign in to comment.