Skip to content

Instantly share code, notes, and snippets.

@jpillora
Last active October 10, 2015 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpillora/3753847 to your computer and use it in GitHub Desktop.
Save jpillora/3753847 to your computer and use it in GitHub Desktop.
Node Static Server using Express
//Node Static Server using Express
var express = require('express'),
app = express();
app.use(express.static(__dirname));
app.listen(9000);
console.log("Listening on 9000");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment