Build Rest API with Node + Express

--

Before we start to build Rest API, I will explain about express first.

What is Express?

Express is Node.js web application framework that provides a robust set of features for web and mobile applications. Such as create routing, middleware and handle requests and response, etc. This allows us to develop the web using Node.js more conveniently and quickly.

Let’s start install Node.js and NPM

  1. Install Node.js to being able to run javascript on the server
  2. Install NPM stand for Node Packages manager is the package manager for the Node Javascript platform.

After you install both of them, check the version of Node by running the following command.

node -v

The first start builds the project and install Express

we going to start will create the folder and package.json file.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Alice Richardson
Alice Richardson

Written by Alice Richardson

Software Development with a background designer.

No responses yet

Write a response