Skip to content

Instantly share code, notes, and snippets.

@mattn9x
Last active July 2, 2017 05:25
Show Gist options
  • Save mattn9x/08b9bf6ef265053eda1d899d416f4c28 to your computer and use it in GitHub Desktop.
Save mattn9x/08b9bf6ef265053eda1d899d416f4c28 to your computer and use it in GitHub Desktop.
Example build heroku with nodejs
let port = process.env.PORT || 8080; // config port
app.listen(port, function(){
console.log(`App listening port: ${port}`);
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment