4.2_express_basic_setup - MartijnKeesmaat/dating-app GitHub Wiki
npm init
npm install express —save
const express - require('express');
const port = 8000
const app = express();
app.use('/static', express.static('static'));
app.get('/', test);
function test(req, res) {
res.send('<h1>Hello</h1>');
}
app.listen(port);