Node.js Essentials

Video description

6+ Hours of Video Instruction

Learn to write performant back-end applications in JavaScript by leveraging the Node.js runtime. Shaun Wassell teaches JavaScript developers how to write and run server-side JavaScript applications for the powerful Node.js runtime. It includes topics such as working with the file system, creating web servers, installing, using, and publishing NPM packages, Google V8 engine, testing, and much more.

Description
Several years ago, it wasn’t possible to write JavaScript programs for the back-end. JavaScript was strictly limited to running in a browser, and if a developer wanted to write back-end software, they had little choice but to learn another programming language, such as PHP. Now, that has all changed. Thanks to Node.js, which allows JavaScript to be run outside the browser, JavaScript developers can write web-servers, server-side scripts, and any number of other useful back-end programs.

This LiveLessons video shows developers how to write and run server-side JavaScript applications for the powerful Node.js runtime.

The code repository for this LiveLesson can be accessed at https://github.com/shaunwa/node-course.

About the Instructor

Shaun Wassell's goal is to create a world where people are empowered to use programming as a way to solve meaningful problems--a world where writing code is just as natural for most people as walking or breathing. To help make this a reality, he has dedicated the past few years to helping people learn and master software development skills through video courses, live training sessions, and one-on-one tutoring. Shaun has been programming since he was a kid, when creating video games was his gateway into the world of software. Since then, he's been fortunate enough to be a contributing member on many amazing software projects and work with some incredible mentors along the way.

Skill Level
  • Intermediate
What You Will Learn

Learn to quickly and easily write performant back-end applications in JavaScript by leveraging the Node.js runtime:
  • Write useful server-side programs using modern JavaScript
  • Build Node.js web servers using several different frameworks
  • Deploy your Node.js applications so that they can be accessed from anywhere
  • Create and publish an open-source NPM package
Shaun also covers more advanced features for developers, such as:
  • Maximizing the performance of your Node.js programs by learning about how Nodes V8 runtime works
  • Interfacing with databases in Node
Who Should Take This Course?
  • Front-end developers/engineers
  • Full-stack developers/engineers
  • Back-end developers/engineers
  • JavaScript developers/engineers
Course Requirements

Prerequisites:
  • Working knowledge of JavaScript.
  • Some experience working on either the front- or back-end of a web application, but this is not a requirement.
About Pearson Video Training

Pearson publishes expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. These professional and personal technology videos feature world-leading author instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, Pearson IT Certification, Prentice Hall, Sams, and Que. Topics include IT Certification, Network Security, Cisco Technology, Programming, Web Development, Mobile Development, and more. Learn more about Pearson Video training at http://www.informit.com/video.

Table of contents

  1. Introduction
    1. Node.js Essentials: Introduction
  2. Lesson 1: Create Your First Node.js Project
    1. Learning objectives
    2. 1.1 Install Node.js and NPM
    3. 1.2 Write and run Node scripts
    4. 1.3 Manage Node versions with the Node Version Manager (NVM)
  3. Lesson 2: Node.js Basics
    1. Learning objectives
    2. 2.1 Learn about the package.json file
    3. 2.2 Create script shortcuts in the package.json file
    4. 2.3 Run Node scripts with arguments
    5. 2.4 Work with Node.js modules
    6. 2.5 Use Babel to write modern JavaScript
  4. Lesson 3: Read and Write Files
    1. Learning objectives
    2. 3.1 Understand the 'fs' package
    3. 3.2 Read and write files synchronously
    4. 3.3 Read and write files asynchronously with callbacks
    5. 3.4 Read and write files asynchronously with promises
  5. Lesson 4: Create Web Servers
    1. Learning objectives
    2. 4.1 Create a web server without frameworks
    3. 4.2 Use Express.js to create a web server
    4. 4.3 Use Koa.js to create a web server
    5. 4.4 Use Hapi to create a web server
  6. Lesson 5: Write Programs That Interface with Databases
    1. Learning objectives
    2. 5.1 Use MongoDB with Node.js
    3. 5.2 Use SQL databases with Node.js
  7. Lesson 6: Work with Web Sockets
    1. Learning objectives
    2. 6.1 Learn the basics of web sockets
    3. 6.2 Create web sockets
    4. 6.3 Send messages via web sockets
    5. 6.4 Subscribing to web socket events
  8. Lesson 7: Create and Publish an NPM Package
    1. Learning objectives
    2. 7.1 Learn the structure of an NPM package
    3. 7.2 Create an NPM package
    4. 7.3 Publish a package on NPM
  9. Lesson 8: Host Node.js Applications
    1. Learning objectives
    2. 8.1 Prepare Node.js applications for production
    3. 8.2 Host a Node.js app on Heroku
  10. Lesson 9: Test Node.js Programs
    1. Learning objectives
    2. 9.1 Learn about the available testing tools
    3. 9.2 Write unit tests with Mocha and Chai
    4. 9.3 Test server endpoints with Supertest
    5. 9.4 Create test scripts
    6. 9.5 Run test scripts automatically
    7. 9.6 Ensure and display test coverage
  11. Summary
    1. Node.js Essentials: Summary

Product information

  • Title: Node.js Essentials
  • Author(s): Shaun Wassell
  • Release date: February 2021
  • Publisher(s): Pearson
  • ISBN: 0136903886