Skip to content

Lesson 02 NPM and Async Patterns

Mary Alice Moore edited this page Feb 2, 2024 · 9 revisions

This lesson covers how to use the node package manager npm to install additional modules from the npm library. It also covers event processing and async patterns in node. There are several introductory videos to watch. External resources mentioned in the main video can be found here:

Watch this video to understand try/catch/throw error handling in JavaScript, which is critical when writing asynchronous code. try, catch, finally, throw - error handling in JS

Now continue watching the FreeCodeCamp course below. This week, you watch from 1:45:57 of the video to 3:40:46. As before, the video is broken up into chapters, so that you can review chapters as needed to complete the programming assignment. Important: At about 2:03 of the video, the instructor does some git operations. Do not do these. You do need to create the .gitignore file, but you definitely do not do a git init inside the answers directory. That would create a git repository nested within your existing repository, which is a mess. In general, in this and all future videos, ignore any git operations the instructor performs. You already have the git repository you need.

FreeCodeCamp's Node Express Course Video