"use strict";
/* eslint-disable no-console */
/* eslint-disable import/default */
var chalk = require('chalk');
var app = require('../app.js'); // This initializes the Express application
var config = require('../../config.js');

var port = config.port || 5000;
var server = app.listen(port, err => {
  if (err) {
    console.log(chalk.red(err));
  } else {
    console.log(chalk.green('Server listening on port'), chalk.blue(port));
  }
});

module.exports = server;

@@ -181,16 +181,19 @@
 ication%0A
+// 
 var conf
@@ -241,19 +241,24 @@
 t = 
-config.port
+process.env.PORT
  %7C%7C 

Move npm dotenv to dependencies instead of dev-dependencies