nodejs implementation db