Introduction
  • Introduction
  • What is Node.js?
  • Join our Online Learning Community
  • Installing Node.js and Creating our First App
  • Understanding the Role & Usage of Node.js
  • Course Outline
  • How To Get The Most Out Of The Course
  • Working with the REPL vs Using Files
  • Using the Attached Source Code
Optional: JavaScript - A Quick Refresher
  • Module Introduction
  • JavaScript in a Nutshell
  • Refreshing the Core Syntax
  • let & const
  • Understanding Arrow Functions
  • Working with Objects, Properties & Methods
  • Arrays & Array Methods
  • Arrays, Objects & Reference Types
  • Understanding Spread & Rest Operators
  • Destructuring
  • Async Code & Promises
  • Template Literals
  • Wrap Up
  • Useful Resources & Links
Understanding the Basics
  • Module Introduction
  • How The Web Works
  • Creating a Node Server
  • The Node Lifecycle & Event Loop
  • Controlling the Node.js Process
  • Understanding Requests
  • Sending Responses
  • Request & Response Headers
  • Routing Requests
  • Redirecting Requests
  • Parsing Request Bodies
  • Understanding Event Driven Code Execution
  • Blocking and Non-Blocking Code
  • Node.js - Looking Behind the Scenes
  • Using the Node Modules System
  • Wrap Up
  • Time to Practice - The Basics
  • Useful Resources & Links
Improved Development Workflow and Debugging
  • Module Introduction
  • Understanding NPM Scripts
  • Installing 3rd Party Packages
  • Global Features vs Core Modules vs Third-Party Modules
  • Using Nodemon for Autorestarts
  • Global & Local npm Packages
  • Understanding different Error Types
  • Finding & Fixing Syntax Errors
  • Dealing with Runtime Errors
  • Logical Errors
  • Using the Debugger
  • Restarting the Debugger Automatically After Editing our App
  • Debugging Node.js in Visual Studio Code
  • Changing Variables in the Debug Console
  • Wrap Up
  • Useful Resources & Links
Working with Express.js
  • Module Introduction
  • What is Express.js?
  • Installing Express.js
  • Adding Middleware
  • How Middleware Works
  • Express.js - Looking Behind the Scenes
  • Handling Different Routes
  • Time to Practice - Express.js
  • Parsing Incoming Requests
  • Limiting Middleware Execution to POST Requests
  • Using Express Router
  • Adding a 404 Error Page
  • Filtering Paths
  • Creating HTML Pages
  • Serving HTML Pages
  • Returning a 404 Page
  • A Hint!
  • Using a Helper Function for Navigation
  • Styling our Pages
  • Serving Files Statically
  • Time to Practice - Navigation
  • Wrap Up
  • Useful Resources & Links
Working with Dynamic Content & Adding Templating Engines
  • Module Introduction
  • Sharing Data Across Requests & Users
  • Templating Engines - An Overview
  • Installing & Implementing Pug
  • Outputting Dynamic Content
  • Official Pug Docs
  • Converting HTML Files to Pug
  • Adding a Layout
  • Finishing the Pug Template
  • Avoiding an Error
  • Working with Handlebars
  • Converting our Project to Handlebars
  • Adding the Layout to Handlebars
  • Working with EJS