adonis-mongoose-model

3.2.0 • Public • Published

Adonis-Mongoose-Model

Fully Mongoose-Model integration, with mongodb connection

npm StyleCI Build Status npm

This package brings you a MongooseProvider that connects to the database, a Mongoose base Model, a mongoose serializer for AdonisAuth

Features

  1. Support for Mongoose model creation.
  2. Strong BaseModel that's Hook compatible, indexable and easy es6 inheritance
  3. Support for a Mongoose serializer.
  4. Adonis command for creating mongoose models

Installation

You can install the package from npm.

adonis install adonis-mongoose-model --yarn

Make sure to read instructions.md file.

Adonis Target

This repo/branch is supposed to run on Adonis 4.x

Node/OS Target

This repo/branch is supposed to run fine on all major OS platforms and targets Node.js >=7.0

Package Sidebar

Install

npm i adonis-mongoose-model

Weekly Downloads

108

Version

3.2.0

License

MIT

Unpacked Size

54.9 kB

Total Files

30

Last publish

Collaborators

  • juampi92