Adonis with mongodb and Mongoose models


#1

Hi everybody.
So, I’m new to the Adonis community, but I come from Nodejs and Laravel, so I can say that my learning curve was pretty short. I love what you’ve done with the fw, and I’d like to help a little bit.

I wanted to make a Mongodb API for a mobile app, so I decided to abstract my mongoose integration into a separate module in case anybody wanna use it or help.

Hope you like it and find it useful.


Please give a FIRST-SUPPORT for MongoDB
#2

Hello juanpi92, I am trying to extend the validator as it says in the documentation but at the first request I get an error that the model does not exist and in the second request it throws me the error that I customized in the validator, you know to what this is due and how to solve it, I am using your package. attached photos.


#3


#4

errorSchema(1)