Digital Developer Conference: Cloud Security 2021 -- Build the skills to secure your cloud and data Register free

Start coding with Node.js

This learning path is a continuation of the “Get started with Node.js” learning path, which provides an introduction to Node.js and explains how to write Node application code, tests, and more. This learning path focuses on applying what you learned and tackling some of the issues you can face as a Node.js developer.

Source code

This learning path uses the same GitHub repo from “Get started with Node.js”. This repo contains every example from every tutorial, so you can run the examples yourself and follow along with the material.

Prerequisites

This learning path builds upon the Get started with Node.js learning path, so work through those tutorials before starting here.

Skill level

You should be familiar with JavaScript to get the most out of this learning path. If you’re not but have experience with other programming languages like C++, Java, C#, PHP, Python, and so forth, you should be fine.

If you have no programming experience at all, you might check some of the other great resources at IBM Developer to get you ready to take this learning path.

You need to be able to install software on your computer. You should also be familiar with using the command line on your particular platform. If you’re on MacOS, that means a Terminal window. On Windows, it’s the command prompt. On Linux, the command line.

Estimated time to complete

Approximately 2 hours.

Learning objectives

With this learning path, you:

  • Learn to use two popular logging packages for Node applications: Winston and Log4js
  • Work with Express middleware and learn techniques for data validation and sanitization
  • Convert the sample application to use MongoDB as the database
  • Use the VSCode source-level debugger to inspect your code line by line
  • Move your sample application’s data to the IBM Cloud