index.js
This file
Path
examples/hello-world/index.js
13 lines · 239 bytes · JavaScript
Last changed by
Not known.
History of this fileTake it
1234567891011121314var express = require('../../');
var app = 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');}