Getting Started with Node.js

Projected Time

90 minutes

Prerequisites

Motivation

This lab exercise will introduce Node.js, a powerful tool that lets you run JavaScript outside of the browser, in your terminal or editor, or even to run servers.

Objectives

Participants will be able to:

Materials

Lesson

Independent Practice

Check for Understanding

After the lab exercise, participants should write down in their own words the steps they went through to create this basic web app using Node. It should be of good quality so they can refer to it later.

Participants should take turns in their pairs reading through and interpreting the app.js file line by line.

Supplemental Materials