Last active
July 2, 2017 05:25
-
-
Save mattn9x/08b9bf6ef265053eda1d899d416f4c28 to your computer and use it in GitHub Desktop.
Example build heroku with nodejs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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