Node.js Intro & HTTP Server
Lesson Overview: Run JavaScript outside the browser using Node.js non-blocking event-driven I/O.
Asynchronous Server Runtime
Node.js uses Chrome V8 and libuv to handle thousands of concurrent network connections efficiently on a single event loop.
- Built-in modules: node:http, node:fs/promises, node:path
- NPM manages dependencies via package.json
Test Yourself With Exercises
Send a response and finish the HTTP stream in Node.js:
res.
("Hello Node!");