An environment based NeDB/MongoDB database switcher for Hapi