Skip to content

Instantly share code, notes, and snippets.

@mt9304
Created December 4, 2019 00:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mt9304/af45f0206c32e60876b9788e9c76744d to your computer and use it in GitHub Desktop.
Save mt9304/af45f0206c32e60876b9788e9c76744d to your computer and use it in GitHub Desktop.
What your server.js should look like.
var express = require('express'),
app = express(),
port = process.env.PORT || 3000;
app.listen(port);
console.log('Movie app started on port ' + port);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment