Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Microsoft

Build JavaScript applications with Node.js

Microsoft via Microsoft Learn

Overview

  • Module 1: Learn about Node.js: what it is, how it works, and when to use it. Create a Node.js application with JavaScript using Visual Studio Code.
  • By the end of this module, you'll be able to:

    • Explain what Node.js is.
    • Describe how Node.js works.
    • Identify when to use Node.js.
    • Create and run a Node.js script from the command line.
  • Module 2: Create a Node.js project and learn to add packages and manage package dependencies in your project. Use the NPM CLI and registry to add libraries and tools to your JavaScript/TypeScript web development projects using Visual Studio Code.
  • After you complete this module, you'll be able to:

    • Initialize Node.js projects
    • Understand what the manifest file package.json consists of and use it to your advantage
    • Add packages to and remove packages from your Node.js project
    • Manage your package dependencies and update them in a predictable way
  • Module 3: Learn how to efficiently debug your Node.js JavaScript app by using Visual Studio Code to fix your bugs quickly. Use the interactive debugger within Visual Studio Code to analyze and fix your JavaScript applications.
  • By the end of this module, you will be able to:

    • Use the Visual Studio Code debugger with a Node.js program.
    • Create breakpoints and run your code step by step to find issues.
    • Inspect your program state at any execution step.
    • Rewind the call stack to find the source of an exception.
  • Module 4: Build an app that manipulates files and directories with Node.js using JavaScript.
  • By the end of this module, you will be able to:

    • Work with directories
    • Create and delete files
    • Read from files
    • Write to files
    • Parse data in files
  • Module 5: Use Express for Node.js to build RESTful APIs. Create and configure middleware to add things like logging and authentication/authorization among other web development topics. Use JavaScript with Express to create a Node.js web server with Visual Studio Code.
  • By the end of this module, you’ll be able to:

    • Describe the core concepts of the web framework Express
    • Configure middleware to control how a request is handled
    • Respond to HTTP requests with different types of content like text and JSON
    • Send data to an Express endpoint
  • Module 6: Learn how to set up a Node.js API with multiple routes and handle incoming HTTP requests by using JavaScript.
  • In this module, you will:

    • Learn about API route management
    • Learn how to implement route handling in a Node.js application with JavaScript

Syllabus

  • Module 1: Introduction to Node.js
    • Introduction
    • What is Node.js?
    • How Node.js works
    • Why might you need Node.js?
    • Try Node.js
    • Knowledge check
    • Summary
  • Module 2: Create a new Node.js project and work with dependencies
    • Introduction
    • Configure the package.json
    • Exercise - Configure the package.json
    • Add packages to your Node.js project
    • Exercise - Install packages
    • Manage dependency updates in your Node.js project
    • Exercise - Manage dependency updates in your Node.js project
    • Knowledge check
    • Summary
  • Module 3: Interactively debug Node.js apps with the built-in and Visual Studio Code debuggers
    • Introduction
    • What's a debugger?
    • Debug with the Node.js built-in debugger
    • Exercise - Use the Node.js built-in debugger
    • Debug with Visual Studio Code
    • Exercise - Debug with Visual Studio Code
    • Knowledge check
    • Summary
  • Module 4: Work with files and directories in a Node.js app
    • Introduction
    • Work with the file system
    • Exercise - Work with the file system
    • Work with file paths in Node.js
    • Exercise - Work with paths
    • Create files and directories
    • Exercise - Create files and directories
    • Read and write to files
    • Exercise - Read and write to files
    • Summary
  • Module 5: Build a web API with Node.js and Express
    • Introduction
    • Create a new Express framework web application
    • Exercise - Create a new Express web application
    • Manage a request lifecycle with middleware
    • Exercise - Manage request lifecycle
    • Knowledge check
    • Summary
  • Module 6: Introduction to route management in Node.js with JavaScript
    • Introduction
    • Understand URLs and routes
    • Exercise - Route and query parameters
    • Read and write
    • Exercise - Read and write
    • Knowledge check
    • Summary

Reviews

Start your review of Build JavaScript applications with Node.js

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.