ah-mongo-plugin

0.1.0 • Public • Published

ah-mongo-plugin

ActionHero.js initializer plugin. It allows to connection to MongoDB using mongoose.js and its schemes/models.

Installation

  • To install
npm i ah-mongo-plugin --save
  • Configure it in config/mongo.js

  • Make it enabled in config/plugin.js of your AH project

exports['default'] = {
  plugins: (api) => {
    return {
      'ah-mongo-plugin'{
        path: path.join(api.projectRoot , 'node_modules''ah-mongo-plugin'),
        initializers: true
      }
    }
  }
}

Package Sidebar

Install

npm i ah-mongo-plugin

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • rakhnin