"Node.js Basics 2017" was retired on September 1, 2022. You are now viewing the recommended replacement.

- JavaScript
- Intermediate
About this Course
In this course we will create two command line applications using the popular server-side JavaScript platform Node.js. We'll be creating an application to retrieve a student's Treehouse profile information and be working with a dictionary API to retrieve definitions of a given word.
What you'll learn
- Write command line applications in Node.js
- Talk to an API with Node.js
- Handle errors
Introduction to Node.js
Node.js is a JavaScript environment that allows you to perform a multitude of tasks and build all sorts of exciting applications.
In this section, we'll discuss what Node is, why you'd use it and how to use it.
3 stepsBuilding a Command Line Application
Node.js can be used to make all sorts of applications. In this section we'll build our project, a command-line application to retrieve students' profile information from the Treehouse API.
7 stepsHandling Errors in Node
Handling errors is an essential part of developing an application. If you expect other people to use your code, it's vital to handle every situation that could go wrong.
4 stepsBuilding a Dictionary App
In this final stage, you'll use everything you've learned so far in creating a command line application with Node.js to create a second application that connects to a dictionary API and displays information based on user input.
3 stepsTeacher
-
Reggie Williams
Reggie is a Treehouse Teacher, developer, and lifelong learner.