Skip to content

Instantly share code, notes, and snippets.

@niftydigits
Created February 6, 2011 22:50
Show Gist options
  • Save niftydigits/813797 to your computer and use it in GitHub Desktop.
Save niftydigits/813797 to your computer and use it in GitHub Desktop.
var express = require('express');
var app = express.createServer();
app.configure(function(){
app.use(express.methodOverride());
app.use(express.bodyDecoder());
app.use(express.logger());
});
app.get('/', function(req, res){
res.send('Hello World');
});
app.listen(3000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment