Skip to content

Instantly share code, notes, and snippets.

@Shekharrajak
Created October 16, 2018 13:34
Show Gist options
  • Select an option

  • Save Shekharrajak/6b88acaba22dc973a42ddbd7fc2948df to your computer and use it in GitHub Desktop.

Select an option

Save Shekharrajak/6b88acaba22dc973a42ddbd7fc2948df to your computer and use it in GitHub Desktop.
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