1 const express = require('express');
3 const http = require('http');
4 const server = http.createServer(app);
7 app.get('/', (req, res) => {
8 res.sendFile(__dirname + '/index.html');
11 server.listen(port, () => {
12 console.log(`listening on *:${port}`);