RANIARANIA Academy

Node.js Fundamentals & the Runtime

Learn to run and structure a real Node.js project from scratch — install Node and npm, run scripts and the REPL, understand the V8 runtime and event loop, and organise code with CommonJS and ES modules. You will finish able to stand up a package.json-driven project with dependencies and npm scripts, confident about how Node executes your code.

Watch the free preview

Installing Node.js and npm — free to watch, no account needed.

Node.js BEGINNER · 150 min · Certificate on completion · 3 CPD points

What you'll learn

  • Run and structure a Node.js project using package.json, npm and scripts
  • Install Node and npm and confirm your toolchain from the command line
  • Explain how the V8 engine and the libuv event loop execute your JavaScript
  • Choose correctly between CommonJS and ES modules and wire up imports and exports
  • Manage dependencies and the node_modules model with npm install and lockfiles

Syllabus

Getting Started — Installing Node and Running Code
Installing Node.js and npmFree preview15 min
Running scripts and using the REPL15 min
How Node Runs Your Code
The V8 engine and the event loop15 min
Non-blocking I/O and the async model15 min
Modules — CommonJS vs ES Modules
CommonJS — require and module.exports15 min
ES Modules — import and export15 min
Structuring a Project with npm
package.json and installing dependencies15 min
npm scripts and the node_modules model15 min
Lab — 10 Exercises & Solutions
Exercises 1–515 min
Exercises 6–1015 min