Prerequisite & terminologies

In this chapter will guide throught Node.js installation for MacOS, Windows, and Linux. if you already installed Node.js then you can skip this part.

Install Node.js

Mac OS

You can install Node directly by downloading it from and installing it from finder.

If you want to download it from your terminal, homebrew process is very straightforward.

  1. Open your terminal and type brew update
  2. Run command brew install node


The easiest way to install Node in windows is, downloading the exe package from node website & installing it.


You can install node in Linux via the official apt packages

  1. Run command sudo apt update this will update your apt list internally.
  2. Install node with sudo apt install nodejs command.

This will install the latest Node version in your Linux systems.

Once done you can verify its installation by running node -v command in your terminal or command prompt. It will print your Node.js version, indicating you've succesfully installed node.js

Prerequisites & the ingredients & Third party tools we are using in this course.

This course assumes you know

  1. Fundamentels of web development.
  2. Basics of Javascript.
  3. What's Node.js

We will be building our APIs with Express.js a Node Framework. We will also use Mongo DB Atlas, a online database service to build a Notes API.

We will also be using a free API hosting service.

Common Terminologies

Some common Terminologies associated with APIs will come in next chapters.


Endpoints mean the different kinds of urls in your api ends with. They are associated with the GET, POST, PUT, DELETE methods of your APIs.



These mean the paths of your API endpoint.



CRUD simply means Create, Read, Update & Delete. The most common use cases of an API.

Query Params

The parameters in that are appended to your endpoint with a ? in the url. Its a way to send simple data to your api.

Query Param

Here sort is the query parameter and it's value is name


It stands for Representational State Transfer. The modern standard for making APIs. Most people confuse this as a technology, but actually this is more of a concept, a standard set of best practices to make APIs.


This means a frontend tech stack, which uses JavaScript, APIs & Markup, where usually the backend & frontend are isolated from each other and the only way to communicate with them is via APIs.

URL Encoded

Sometimes you need to pass some things in your API query params which could create some issues like spaces, forward slashes etc. You need to encode these special characters so that they can be sent over the internet. You can find a reference of these characters on w3schools.

Next Chapter

API Methods