Express Web API

in API

Nowadays, web api is one of the most popular topic in our mobile world. And with NodeJS together with express framework, defining a web api takes minutes.

Basic API Definition With Express

Express framework initializer is very handy to create our example. To make use of it simply install it from npm. This will create express executable under /usr/bin/

1
npm install express-generator -g

Usage of express generator is also very easy. Execute the below command after installing express-generator and this will create the folder structure for you and some samples included to start your web application directly.

1
express firstapi

Continue reading
  • page 1 of 1
Author's picture

Volkan N. Metin

Father of 2 beautiful kids
Computer Engineer
Software Development Adventurer


Software Development Manager


Istanbul, TR