adonis-mongo-rules-validator
v0.1.2
Published
Extended validator rules for mongo
Downloads
6
Maintainers
Readme
Adonis-Mongo-Rules-Validator
This package extends Validator rules for use with mongodb
Installation
You can install the package from npm.
adonis install adonis-mongo-rules-validator
Set the environment variable ADONIS_MONGO_PROVIDER (Read the mongo package supported)
ADONIS_MONGO_PROVIDER=adonis-mongoose-model
Make sure to read instructions.md file.
Required Packages
Validator
You can install the package from npm.
adonis install @adonisjs/validator
Mongo Package supported
- Mongoose: adonis-mongoose-model
- Lucid Mongo: lucid-mongo
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 >=8.0