Skip to content

Instantly share code, notes, and snippets.

@franrios
Last active March 25, 2016 19:14
Show Gist options
  • Save franrios/cb8f9a768be05912fb8a to your computer and use it in GitHub Desktop.
Save franrios/cb8f9a768be05912fb8a to your computer and use it in GitHub Desktop.
hello-world.js
var http = require('http')
http.createServer(function (req, res) {
res.write('Hello from Node.js fundamentals!\n')
res.end()
}).listen(8080, function () {
console.log('Listening on port 8080...')
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment