Tuesday 9 February 2016

Pluggable DB example

I'm just learning node.js, starting with a chat server, like everyone :)I want to make my DB pluggable. I would like to be able to implement mongoldb as well as an embedded noSQL db. And a third option for testing, like just in-memory arrays...Therefore I don't want to couple my model objects with a particular schema/model implementation of mongo/mongoose and others.Are there any examples available to do that? I'm sure there are, but I did not find any yet.My (very much in progress) repo is at: http://ift.tt/1Q5SslZ.

Submitted February 09, 2016 at 08:55PM by mihaelamj

No comments:

Post a Comment