Backend with Node.js
🟩 Node.js: runtime, modules and async
What Node.js is and its non-blocking model, the module system (CommonJS and ESM) with npm, and asynchrony: from callbacks to async/await.
What you'll learn
- Run JavaScript outside the browser and explain the non-blocking model of the event loop
- Import and export modules with CommonJS (
require) and ES Modules (import) - Read environment variables and use standard modules (
fs,path,process) - Implement asynchronous tasks with callbacks, promises and
async/await
Lessons
What is Node.jsV8, running JS outside the browser and the non-blocking model. Modules and npmCommonJS vs ES Modules, package.json and the standard library. Asynchrony in NodeFrom callbacks to promises and async/await; the (err, data) pattern.Practice this module in the app
DevPath is a hands-on course: you read the theory here; in the app you put it into practice with exercises that really run, offline.
Start free in the app →