Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clout-mongoose

Install

In the directory of your clout-js application, do the following;

  1. Install this package
npm install clout-mongoose
  1. Add this module to package.json
{
    ...
    "modules": ["clout-mongoose"]
    ...
}

Configure

Create a new file mongoose.default.js or mongoose.<YOUR_ENV>.js in /conf directory with the following JavaScript.

module.exports = {
    mongoose: {
        // refer to http://mongoosejs.com/docs/connections.html
        uri: 'mongodb://localhost/myapp',
        conf: {}
    }
};

About

Clout module to leverage mongoose for models

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages