bwnjsejs:building_a_hello_express_application
var express = require('express');
var app = express();
app.get('/', function(req, res) {
res.send('<h1>😝</h1><p>Hello !</p>')
})
var server = app.listen(3000, function() {
console.log('Listening on port 3000.');
})
bwnjsejs/building_a_hello_express_application.txt · Last modified: 2016/05/08 14:58 by leo