mirror of
https://github.com/mathew-kurian/Scribe.js
synced 2025-04-24 22:34:58 +00:00
14 lines
347 B
JavaScript
14 lines
347 B
JavaScript
|
/* jshint -W098 */
|
||
|
(function () {
|
||
|
var scribe = require('../scribe')(),
|
||
|
express = require('express'),
|
||
|
app = express(),
|
||
|
console = process.console;
|
||
|
|
||
|
app.use(scribe.express.logger()); //Log each request
|
||
|
|
||
|
app.listen(8080, function () {
|
||
|
console.time().log('Server listening at port 8080');
|
||
|
});
|
||
|
}());
|