Node.js Learning Path: Unit 8 – Managing Node Dependencies

Hey everyone! If you want to learn Node.js, then check out my Node.js Learning Path, which you can find only at IBM Developer.

Unit 8 shows you how to manage your Node project’s dependencies.

Here’s what you’ll learn about in Unit 8:

  • The package.json file, which you use to manage your project’s metadata like name and version
  • Dependency versioning using semantic versioning (SemVer)

Unit 8 also has a quiz and a video, where I show you the required elements of a package.json file and the role of semver in dependency management.

Unit 8 Video

Click here to start Unit 8 now, or click here to start at Unit 1.

Either way, have fun, good luck, and thanks for reading!

–jsp

Advertisements

Node.js Learning Path: Unit 7 – npm

Hey everyone! If you want to learn Node.js, then check out my Node.js Learning Path, which you can find only at IBM Developer

Unit 7 shows you all about npm, the package manager for Node.

Here’s what you’ll learn in Unit 7:

  • The npm registry and how package scores are used to help you select the module you want
  • The npm command line interface (CLI) tool
  • The npm website, which contains lots of great documentation

Unit 7 also has a quiz!

Want to take the entire course? Then click here to start at the beginning, with Unit 1.

Either way, have fun, good luck, and thanks for reading!

–jsp

Publications (Full List)

Below is a list of all my publications, starting with books, then publications by year (newest first).

Books

Publications By Year

2019

2018

2017

2016

Before 2016

Node.js Learning Path: Unit 6 – Your First Node Program

Hey everyone! If you want to learn Node.js, then check out my Node.js Learning Path, which you can find only at IBM Developer.

Unit 6 simulates a real project, where you are brought in to finish an application called The Shopping List, that was only partially completed by another developer.

Here’s what you’ll learn in Unit 6:

  • The application’s business requirements in the form of user stories
  • How to run the application’s functional tests, so you know when your code works (and when it doesn’t) – in other words, Behavior-Driven Development (BDD)
  • The application’s data model
  • How to load the application’s data – from the Open Grocery Database Project – into a SQLite database
  • How to write, configure, and run REST services using Node
  • How to use the VSCode debugger to interactively debug your code

Unit 6 also has a quiz (are you seeing a theme here?), and a video to help you get your computer setup to run the functional tests:

Ready to dive into your first Node application? Then click here to jump right to Unit 6.

Want to take the entire course? Then click here to start at the beginning, with Unit 1.

Either way, have fun, good luck, and thanks for reading!

–jsp

Node.js Learning Path: Unit 5 – The Event Loop

Hey everyone! If you want to learn Node.js, then check out my Node.js Learning Path, which you can find only at IBM Developer.

The Event Loop is the key to Node’s scalability.

Unit 5 of the LP is about the Event Loop, and in it you’ll learn stuff like:

  • The phases of the Event Loop
  • How to write code that runs in the various phases (so you know when your code will run)
  • The Node Events API
  • Node Streams

There’s a quiz to help you deepen your understanding of the material, and a video too:

Ready to dive into the Node Event Loop? Then click here to jump right to Unit 5.

Want to take the entire course? Then click here to start at the beginning, with Unit 1.

Either way, have fun, good luck, and thanks for reading!

–jsp

Node.js Learning Path: Unit 4 – Basic Concepts

Hey everyone! If you want to learn Node.js, then check out my Node.js Learning Path, which you can find only at IBM Developer.

Unit 4 of the LP gives you an introduction to the basic concepts you need to know when working with Node. Stuff like:

  • Sychronous versus asynchronous programming
  • Node’s module system, npm, and using third-party packages
  • Load testing using Apache bench, and loadtest
  • The Pyramid of Doom (I’m not making this up)

And lots more. I’ll even show you how to create a Node module (something you’ll do a LOT, trust me).

There’s a quiz to help you deepen your understanding of the material, and a video too:

Ready to dive into Node.js concepts? Then click here to jump right to Unit 4.

Want to take the entire course? Then click here to begin with Unit 1.

Either way, have fun, good luck, and thanks for reading!

–jsp

Process Substitution and SHA256 Checksum

Hey everyone!

When you verify the SHA256 checksum of a downloaded file you can copy the checksum from the website, paste it into an editor, run the shasum -a 256 command, paste the checksum into that same editor and compare them by eye.

Or, use the diff command and process substitution to do it, and never have to trust your eyeballs again (you should still keep them open while driving though).

I put together this video to show how easy it is to do this. Enjoy!

Thanks for reading!

–jsp