text: /*eslint no-console: 0, no-unused-vars: 0, no-undef:0, no-process-exit:0*/
  /*eslint-env node, es6 */
  "use strict";
  
  module.exports = (app, server) => {
  	app.use("/", require("./routes/expressRoutes")());
  
  	app.use( (err, req, res, next) => {
  		console.error(JSON.stringify(err));
  		res.status(500).send(`System Error ${JSON.stringify(err)}`);
  	});
  
  };