Created
November 2, 2016 21:42
-
-
Save imkost/7e49e0117d9cfa6a5a51892dd90ba279 to your computer and use it in GitHub Desktop.
This file contains 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
const http = require('http'); | |
const PORT = 4000; | |
http.createServer(server).listen(PORT); | |
function server(req, res) { | |
res.end('Hello, dude'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment