O'Reilly logo
live online training icon Live Online training

Getting started with Node.js

Learn the basics of the Node.js runtime

Samer Buna

In this introductory course, expert Samer Buna covers the basics of Node.js and modern JavaScript, teaching you everything you need to get started building Node.js applications, including available tools and npm packages. You'll leave feeling a lot more comfortable reading and understanding code written for Node.js.

What you'll learn-and how you can apply it

  • Node.js and npm fundamentals
  • The basics of built-in and popular npm packages

And you’ll be able to:

  • Read and understand code written for Node.js
  • Run simple Node.js applications and use popular Node.js tools

This training course is for you because...

  • You're a beginner programmer who knows the basics of JavaScript, and you want to take your skills to the server side.
  • You are a beginner frontend developer or designer, and you want to start working with server-side projects.

Prerequisites

  • A basic understanding of programming (variables, control structure, data structures, etc.)
  • A working knowledge of JavaScript syntax and tools

Materials or downloads needed in advance:

  • A machine with a modern browser and Node 8.9.4 or later installed (Please run "node --version" and make sure you see 8.1.4 (or higher).)

About your instructor

  • Samer Buna has over 20 years of experience in software development, during which he has worked on web and mobile applications development, API design, functional programming, optimization, system administration, database management, and scalability. Samer is the author of several technical books and online courses on topics such as Node.js, React, and GraphQL. You can follow his latest work over at jsComplete.com and EdgeCoders.com.

Schedule

The timeframes are only estimates and may vary according to how the class is progressing

Up and running with Node.js (50 minutes)

  • Lecture and exercises: The Node.js environment; Node.js's REP and command-line tools and options; Node.js global objects; popular APIs like timers and Buffers

Break (10 minutes)

Getting started with npm (50 minutes)

  • Lecture and exercises: Requiring packages; global packages; the require object; built-in modules; popular npm packages; npm commands and scripts

Break (10 minutes)

Modern JavaScript for Node.js (50 minutes)

  • Lecture and exercises: Modern JavaScript for Node.js; Babel; Node.js as a tooling framework

Quiz, wrap-up, and Q&A (10 minutes)