Skip to content

Instantly share code, notes, and snippets.

@Siedrix
Created November 12, 2013 23:18
Show Gist options
  • Save Siedrix/7440612 to your computer and use it in GitHub Desktop.
Save Siedrix/7440612 to your computer and use it in GitHub Desktop.
Basic hello world
var express = require('express');
var app = express();
app.get('/', function (req, res) {
res.send('Express.js Hello world');
});
app.listen(8000);
{
"name" : "hello-world",
"version" : "0.0.2",
"dependencies" : {
"express" : "3.4.4"
},
"scripts": {
"start" : "app.js"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment