Node.js Learning Path: Unit 11 – ExpressJS

Hey everyone! If you want to learn Node.js, then check out my Node.js Learning Path, which you can find only at IBM Developer.

Unit 11 shows you how to put a REST interface on your Node applications using one of the most popular frameworks for that: ExpressJS, and how to write a simple (but nice-looking) UI on the application using Pug.

Here’s what you’ll learn about in Unit 11:

  • What is a REST framework?
  • UI Templating using Pug (formerly Jade)
  • Overview of ExpressJS
  • Use ExpressJS to put a REST interface on the LP’s sample application (from Unit 6)

Unit 11 also has a video, where I give you a tour of the application.


Click here to start Unit 11 now, or click here to start at Unit 1.

Either way, have fun, good luck, and thanks for reading!

–jsp

Node.js Learning Path: Unit 10 – Logging

Hey everyone! If you want to learn Node.js, then check out my Node.js Learning Path, which you can find only at IBM Developer.

Part 2 of the Learning Path is where you’ll put what you’ve learned in units 1-9 to use, beginning with Unit 10.

Unit 10 shows you how to use logging packages from the npm repository.

Here’s what you’ll learn about in Unit 10:

Unit 10 also has a video, where I put both loggers through their paces.

Got Logging?


Click here to start Unit 10 now, or click here to start at Unit 1.

Either way, have fun, good luck, and thanks for reading!

–jsp

Node.js Learning Path: Unit 9 – Testing

Hey everyone! If you want to learn Node.js, then check out my Node.js Learning Path, which you can find only at IBM Developer.

Unit 9 shows you how to test your Node project code.

Here’s what you’ll learn about in Unit 9:

  • Test automation
  • Mocha test suites
  • Chai assertions
  • Sinon for test doubles
  • Istanbul for code coverage
  • Using ESLint to perform static analysis on your code

Unit 9 also has a quiz and a video, where I show you the required elements of a package.json file and the role of semver in dependency management.

Click here to start Unit 9 now, or click here to start at Unit 1.

Either way, have fun, good luck, and thanks for reading!

–jsp

Node.js Learning Path: Unit 8 – Managing Node Dependencies

Hey everyone! If you want to learn Node.js, then check out my Node.js Learning Path, which you can find only at IBM Developer.

Unit 8 shows you how to manage your Node project’s dependencies.

Here’s what you’ll learn about in Unit 8:

  • The package.json file, which you use to manage your project’s metadata like name and version
  • Dependency versioning using semantic versioning (SemVer)

Unit 8 also has a quiz and a video, where I show you the required elements of a package.json file and the role of semver in dependency management.

Unit 8 Video

Click here to start Unit 8 now, or click here to start at Unit 1.

Either way, have fun, good luck, and thanks for reading!

–jsp

Node.js Learning Path: Unit 7 – npm

Hey everyone! If you want to learn Node.js, then check out my Node.js Learning Path, which you can find only at IBM Developer

Unit 7 shows you all about npm, the package manager for Node.

Here’s what you’ll learn in Unit 7:

  • The npm registry and how package scores are used to help you select the module you want
  • The npm command line interface (CLI) tool
  • The npm website, which contains lots of great documentation

Unit 7 also has a quiz!

Want to take the entire course? Then click here to start at the beginning, with Unit 1.

Either way, have fun, good luck, and thanks for reading!

–jsp

Publications (Full List)

Below is a list of all my publications, starting with books, then publications by year (newest first).

Books

Publications By Year

2018

2017

2016

Before 2016

Node.js Learning Path: Unit 6 – Your First Node Program

Hey everyone! If you want to learn Node.js, then check out my Node.js Learning Path, which you can find only at IBM Developer.

Unit 6 simulates a real project, where you are brought in to finish an application called The Shopping List, that was only partially completed by another developer.

Here’s what you’ll learn in Unit 6:

  • The application’s business requirements in the form of user stories
  • How to run the application’s functional tests, so you know when your code works (and when it doesn’t) – in other words, Behavior-Driven Development (BDD)
  • The application’s data model
  • How to load the application’s data – from the Open Grocery Database Project – into a SQLite database
  • How to write, configure, and run REST services using Node
  • How to use the VSCode debugger to interactively debug your code

Unit 6 also has a quiz (are you seeing a theme here?), and a video to help you get your computer setup to run the functional tests:

Ready to dive into your first Node application? Then click here to jump right to Unit 6.

Want to take the entire course? Then click here to start at the beginning, with Unit 1.

Either way, have fun, good luck, and thanks for reading!

–jsp