Skip to content

Instantly share code, notes, and snippets.

@kesselborn
Created May 19, 2011 12:13
Show Gist options
  • Save kesselborn/980608 to your computer and use it in GitHub Desktop.
Save kesselborn/980608 to your computer and use it in GitHub Desktop.
var express = require('express');
var app = express.createServer();
app.set('view engine', 'jade');
app.use('/public/', express.static(__dirname + "/public/stylesheets/"));
app.get('/', function(req, res) {
res.render('index');
});
app.listen(3000);
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment