Node.js Backend Fundamentals

Lesson 1 of 6

Introduction to Node.js

Node.js is a JavaScript runtime built on Chrome's V8 engine. It lets you run JavaScript outside the browser, on servers, in CLIs, and in build tools.

Why Node.js?

  • Non-blocking I/O, handles thousands of concurrent connections efficiently.
  • One language everywhere, share code and skills between frontend and backend.
  • npm, the largest package ecosystem in the world.

Your first program

JavaScript

Run it with:

node hello.js

📝 Node.js Basics

Passing score: 70%
  1. 1.What engine does Node.js use to execute JavaScript?

  2. 2.Node.js can only run JavaScript inside a web browser.

  3. 3.The command to run a file called app.js with Node is: ____ app.js