- Recap last week
- Previous homework
- Questions & answers (Q&A)
- What is Node.js?
- Finding documentation
- Setting up a Node.js project using
npm init
andpackage.json
- Installing dependencies using
npm install
- Local and global mode
- Importing modules using
require
- Built-in, external modules and local files
- Building an HTTP server using built-in
http
module- HTTP request methods
- HTTP response status codes
- Homework
From Node.js' websitehttps://nodejs.org/en/:
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world.
What is Node.js? What can you do with it? Why should you use it? estimated time: 10 minutes
A Beginner’s Guide to npm — the Node Package Manager NPM tutorials. Follow chapters 1 - 10 estimated time: 4-6 hours
Check README.md in homework
subdirectory.
An important term when making applications is control flow. You already know all about it. Read through this page and answer this question: how do we control "flow" in JavaScript?