Merge forename + name into [identifying] 'name' (more general)
[qomet.git] / utils / database.js
1 const mongojs = require("mongojs");
2 const params = require("../config/parameters");
3
4 const connectionString =
5 params.db.user + ":" + params.db.password + "@" + params.db.host + ":" + params.db.port + "/" + params.db.name
6
7 const db = mongojs(connectionString);
8
9 module.exports = db;