1 const mongojs
= require("mongojs");
2 const params
= require("../config/parameters");
4 const connectionString
=
5 params
.db
.user
+ ":" + params
.db
.password
+ "@" + params
.db
.host
+ ":" + params
.db
.port
+ "/" + params
.db
.name
7 const db
= mongojs(connectionString
);