These are chat archives for LearnBoost/mongoose

Mar 2015
Mar 04 2015 06:03
See substance.js
Joseph Thibeault
Mar 04 2015 14:58
Hey guys, I had a question regarding mongoose in distributed applications. We have a nodejs api that is broken out into several separate modules. The modules all make use of the same database and collections. How would you recommend that we share the data models created with mongoose across all of the modules without reproducing them? Could this be done by creating a module which includes all of the data models?
the goal is that we’re trying to keep it simple when updating the models. Rather than having each module implement the updates, we could just update the version number of the data model module