Chapter 13: initial samples

This commit is contained in:
Beth Griggs
2020-08-03 00:09:53 +01:00
parent 6b79a9e6fb
commit d123a16d35
40 changed files with 4004 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
const express = require("express");
const app = express();
app.get("/", (req, res) => {
res.send("Hello World!");
});
app.listen(3000, () => {
console.log("Server listening on port 3000");
setInterval(() => {
console.log("Server listening...");
}, 3000);
});