web.js


 

#!/usr/bin/env node
var debug = require('debug')('my-application');
var app = require('./app');

app.set('port', process.env.PORT || 8080);

var server = app.listen(app.get('port'), function() {
  debug('Express server listening on port ' + server.address().port);
});

 

Leave a Reply

Your email address will not be published. Required fields are marked *