From af8552aab444b12544780657b9351560359fca5a Mon Sep 17 00:00:00 2001 From: Ken Schaefer Date: Wed, 6 Mar 2024 13:39:28 -0600 Subject: [PATCH] server --- {Section 01 - Intro => section-01-intro}/first-app.js | 0 {Section 01 - Intro => section-01-intro}/hello.txt | 0 .../syntax.js | 0 section-03-basic-node/app.js | 7 +++++++ 4 files changed, 7 insertions(+) rename {Section 01 - Intro => section-01-intro}/first-app.js (100%) rename {Section 01 - Intro => section-01-intro}/hello.txt (100%) rename {Section 02 - JavaScript => section-02-javascript}/syntax.js (100%) create mode 100644 section-03-basic-node/app.js diff --git a/Section 01 - Intro/first-app.js b/section-01-intro/first-app.js similarity index 100% rename from Section 01 - Intro/first-app.js rename to section-01-intro/first-app.js diff --git a/Section 01 - Intro/hello.txt b/section-01-intro/hello.txt similarity index 100% rename from Section 01 - Intro/hello.txt rename to section-01-intro/hello.txt diff --git a/Section 02 - JavaScript/syntax.js b/section-02-javascript/syntax.js similarity index 100% rename from Section 02 - JavaScript/syntax.js rename to section-02-javascript/syntax.js diff --git a/section-03-basic-node/app.js b/section-03-basic-node/app.js new file mode 100644 index 0000000..9169d5e --- /dev/null +++ b/section-03-basic-node/app.js @@ -0,0 +1,7 @@ +const http = require('http'); + +const server = http.createServer((req, res) => { + console.log(req); +}); + +server.listen(3000); \ No newline at end of file