app/App.js
/**
   *  Will bind services, routes and error handlers then run the server via express
   *
   *  @return {void}
   */
Will bind services, routes and error handlers then run the server via express
@return {void}
Will bind services routes and error handlers then run the server via express @return { void }
run() {
    this.registerServices();
    this.registerRoutes();
    this.registerNotFoundHandler();
    this.registerErrorHandlers();
    this.setupDatabase().then(() => {
      const port = this.getService('Config.js').getConfig('port', 8080);
      this.getApp().listen(port, () => {
        console.log('Server listening on port ' + port);
      });
    });
  }
run ( ) { this . registerServices ( ) ; this . registerRoutes ( ) ; this . registerNotFoundHandler ( ) ; this . registerErrorHandlers ( ) ; this . setupDatabase ( ) . then ( ( ) => { const port = this . getService ( 'Config.js' ) . getConfig ( 'port' , 8080 ) ; this . getApp ( ) . listen ( port , ( ) => { console . log ( 'Server listening on port ' + port ) ; } ) ; } ) ; }
Will bind services, routes and error handlers then run the server via express
  @return {void}
Will bind services routes and error handlers then run the server via express @return { void }