$ yarn add claypot claypot-mongoose-plugin
Claypotfile.js
module.exports = {
plugins: ['claypot-mongoose-plugin'],
dbs: {
foo: {
store: 'mongoose',
database: 'my_mongo_db',
native_parser: true,
user: '<USER>',
pass: '<PASS>',
authSource: 'admin',
autoReconnect: true,
},
},
};
MIT