Node.js Tutorial

This practical Node.js tutorial provides you with everything you need to use Node.js effectively.

What you will learn:

  • Learn the fundamentals of Node.
  • Master Node.js module system
  • Utilize Node package manager (npm)
  • Build a RESTful API using Express.
  • Interact with MongoDB using Mongoose
  • Handling errors
  • Implementing Authentication and Authorization
  • And much more

Who this tutorial is for:

  • Anyone who already has basic JavaScript knowlege.

Section 1. Getting started with Node.js

  • What is Node.js – explain to you what node.js is and why you should use the Node.js for your next projects.
  • Install Node.js – show you step by step how to install Node.js on your computer.

Section 2. Node.js Module System

  • Node.js modules – help you understand how Node.js modules work and how to create and reuse a module in a program.
  • Path module – learn how to use the path module to manipulate file paths effectively.
  • OS module – show you how to perform operating system related activities using the os module.
  • Events module – explain the events module and how the EventEmitter object works.
  • HTTP module – learn how to use the http module to create a simple HTTP server.
  • ES modules – guide you on how to use ES modules in Node.js.

Section 3. Node Package Manager (NPM)

  • What is npm? – give you a quick introduction to npm and how to use the npm CLI to install a new package.
  • npm semantic versioning – learn how to specify a version for your package using the semantic versioning spec.
  • npm list – show you how to use the npm list command to list the installed packages.
  • npm view – guide you on how to view information on a package.
  • npm uninstall – show you how to remove a package from the current project.
  • npm publish – show you step by step how to publish your package to npm registry.

Section 4. Building a RESTful API using Express

  • What is RESTful API