Tuesday 18 July 2017

Fixtures for MongoDB - Load and Unload your (test) data

I wanted to share a tool I created to load and unload mongodb collections. It's called node-mongodb-fixtures.Basically, you create some json files. Each file is a collection that contains an array of documents. node-mongodb-fixtures uses those files to load and unload the db. (note: has both a lib and cli form)Please share feedback. I will continue to improve it. Hope you'll find it useful Check it out here: http://ift.tt/2u64onA

Submitted July 18, 2017 at 04:38PM by coracarm

No comments:

Post a Comment