diff --git a/basic-info-node-backend/src/content/about.html b/basic-info-node-backend/src/content/about.html new file mode 100644 index 0000000..9345cf0 --- /dev/null +++ b/basic-info-node-backend/src/content/about.html @@ -0,0 +1,13 @@ + + +
+ + +This is about as much about me as it is about you
+ + diff --git a/basic-info-node-backend/src/content/contact.html b/basic-info-node-backend/src/content/contact.html new file mode 100644 index 0000000..609a1b9 --- /dev/null +++ b/basic-info-node-backend/src/content/contact.html @@ -0,0 +1,14 @@ + + + + + ++ You really shouldn't reach out to me, but if you do I'll be glad you did +
+ + diff --git a/basic-info-node-backend/src/content/index.html b/basic-info-node-backend/src/content/index.html new file mode 100644 index 0000000..0cb0a9d --- /dev/null +++ b/basic-info-node-backend/src/content/index.html @@ -0,0 +1,12 @@ + + + + + +${req.url}
`); + } + + res.writeHead(200, { "Content-Type": "text/html" }); + res.write(data); + return res.end(); + }); +}); + +server.listen(port, hostname, () => { + console.log(`Server running: http://${hostname}:${port}`); +});