Last active
October 24, 2019 16:49
-
-
Save joshtrigger/d3291fc72d53ff71e45a8b0da2d438a6 to your computer and use it in GitHub Desktop.
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
// server.js | |
const http = require('http'); | |
const app = require('./app'); | |
const port = process.env.PORT || 3000; | |
const server = http.createServer(app); | |
server.listen(port); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment