Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 2.53 KB

node-js.md

File metadata and controls

55 lines (35 loc) · 2.53 KB

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:

  • Install Node
  • Run commands in Node's REPL
  • Run a whole JavaScript file

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