Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Getting Started with Node.js - Full Tutorial

via freeCodeCamp

Overview

Dive into a comprehensive tutorial on Node.js fundamentals and gain proficiency in writing JavaScript code for this popular runtime environment. Begin with an introduction to Node.js, V8 engine, and REPL, then explore Node's CLI and process environment. Learn to execute files, work with modules, and understand caching and APIs. Discover ECMAScript modules, npm packages, and package publishing. Explore package.json scripts, dependencies, and web server creation using both built-in http and Express. Compare require, import, and import() statements, and learn about file watching in development. Delve into callbacks, promises, events, and streams. Gain insights on clusters, PM2, and other core Node libraries. Master debugging techniques and review modern JavaScript concepts. This tutorial, created by Samer Buna, provides a solid foundation for aspiring Node.js developers and concludes with guidance on further learning opportunities.

Syllabus

Getting Node.
What is Node? What is V8? What’s a REPL?.
Node’s CLI and process environment.
Executing files with Node.
Modules wrapping and exports/require.
Modules caching and APIs.
ECMAScript modules in Node.
Using Node/npm packages.
Publishing packages.
Cleanup and global modules.
package.json scripts, npx, and prod/dev dependencies.
Creating a web server with built-in http.
Creating a web server with express.
Require vs import vs import().
Watching files for change in development.
Callbacks and promises.
Events and streams.
Clusters and PM2.
Other core libraries in Node.
Debugging Node applications.
Modern JavaScript review.
What’s next?.

Taught by

freeCodeCamp.org

Reviews

Start your review of Getting Started with Node.js - Full Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.