Overview

This online training course is a high level introduction to the open-source, cross-platform JavaScript run-time environment known as Node.js. This Node online training course covers setting up your computer to utilize Node, creating programs, executing expressions, understand Node package manager, understand Node.js Event Emitter, Node.js streams, and more!

Course Instructor: Zac Brown

Course Outline

  • What is Node.js?
  • Where can Node.js be used?
  • Why do people write Node.js?
  • What this course offers
  • Installing Node.js
  • Tools you need to write Node
  • Popular Node editors
  • Create a Node.js app
  • Import required modules
  • Execute Hello World app
  • Simple expressions
  • Variables
  • Multiline expressions
  • Underscore variables
  • REPL commands
  • Installing modules
  • Global & local installs
  • Package.json
  • Uninstall modules
  • Update modules
  • What is a callback?
  • Blocking callback
  • Non-blocking callback
  • Event-driven
  • How Node apps actually work
  • Event-emitter class
  • Class & general methods
  • Creating buffers
  • Writing to buffers
  • Reading from buffers
  • Conversion to JSON
  • Concatenate buffers
  • Compare, copy, slice
  • Buffer length
  • Class methods
  • What are streams?
  • Reading from streams
  • Writing to streams
  • Piping streams
  • Chaining streams
  • Synchronous & Asynchronous
  • Open a file
  • Flags
  • File information
  • Create, read, delete
  • Closing a file
  • Truncating a file
  • Create directory
  • Read directory
  • Remove directory
  • _filename
  • _dirname
  • setTimeout
  • clearTimeout
  • setInterval
  • What’s a web server?
  • Web app architecture
  • Create a web server
  • Create a web client
  • Overview
  • Installing Express
  • Hello World
  • Request & Response
  • Routing
  • Static files
  • GET & POST
  • File uploads
  • Cookie management
  • What is REST?
  • Build a user API
  • exec() method
  • spawn() method
  • fork() method

Skills Learned

After completing this online training course, students will be able to:

  • Setting up a computer to write and run Node code
  • Create your first program and learn various aspects of Node app creation
  • Learn about the REPL terminal and how to execute different types of expressions
  • Understand what the node package manager is and how to use it for your applications
  • Learn how to respond to use callbacks to respond to events and drive app behavior
  • Explore event driven applications and see how apps are executed in Node
  • Understand the Node.js Event Emitter
  • Learn the different functionality offered by Node.js for Buffer interaction
  • Node.js streams
  • Creating, reading, and manipulating files with Node
  • Number representation and manipulation in JavaScript
  • Understanding how to use the Node.js web module to create and maintain a web server
  • Learn the basic usages of the express framework in your Node apps
  • Understand the various aspects of REST and how to build a REST compliant API
  • JavaScript methods