Have ideas to improve npm?Join in the discussion! »

    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
          }
        }
      }
    }

    Install

    npm i ah-mongo-plugin

    DownloadsWeekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • avatar