index.js
This file
Path
examples/hello-world/index.js
15 lines · 269 bytes · JavaScript
Last changed by
Not known.
History of this fileTake it
12345678910111213141516'use strict'
var express = require('../../');
var app = module.exports = express()
app.get('/', function(req, res){ res.send('Hello World');});
/* istanbul ignore next */if (!module.parent) { app.listen(3000); console.log('Express started on port 3000');}