mirror of
https://github.com/zebrajr/express.git
synced 2025-12-06 12:19:51 +01:00
14 lines
239 B
JavaScript
14 lines
239 B
JavaScript
var 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');
|
|
}
|