Skip to content

Instantly share code, notes, and snippets.

@auramo
Created March 16, 2016 17:32
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 auramo/76a9cfaa85eabd0eb1b9 to your computer and use it in GitHub Desktop.
Save auramo/76a9cfaa85eabd0eb1b9 to your computer and use it in GitHub Desktop.
node static server
var express = require('express');
var app = express();
app.use(express.static('public'));
app.listen(8000, function () {
console.log('Example app listening on port 8000!');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment