Skip to content

Instantly share code, notes, and snippets.

@bennlich
Last active December 25, 2015 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bennlich/6946477 to your computer and use it in GitHub Desktop.
Save bennlich/6946477 to your computer and use it in GitHub Desktop.
var bogart = require('bogart');
var router = bogart.router();
router.get('/', function(req) {
return bogart.middleware.respondWithFile(req, 'index.html');
});
var app = bogart.app();
app.use(bogart.batteries);
app.use(router);
app.start(53355, 'localhost');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment