Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var express = require('express');
var app = express();
var port = process.env.PORT || 1729;
app.listen(port, function () {
console.log('Server has started at port ' + port + ' !!');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment