Fully Mongoose-Model integration, with mongodb connection
This package brings you a MongooseProvider that connects to the database, a Mongoose base Model, a mongoose serializer for AdonisAuth
- Support for Mongoose model creation.
- Strong BaseModel that's Hook compatible, indexable and easy es6 inheritance
- Support for a Mongoose serializer.
- Adonis command for creating mongoose models
You can install the package from npm.
adonis install adonis-mongoose-model --yarn
Make sure to read instructions.md file.
This repo/branch is supposed to run on Adonis 4.x
This repo/branch is supposed to run fine on all major OS platforms and targets Node.js >=7.0