KEMBAR78
Express JS Rest API Tutorial | PPTX
What's in it for you?
• Introduction
• What is Express JS?
• What is REST API?
• HTTP request types
• Building RESTful API
Introduction
• REST APIs are the standard way to send and receive data for web services
• Rest API is flexible and can handle multiple types of calls
• RESTful API is very popular and very commonly used to create APIs for web-
based applications
Client REST API DATABASE
What is Express JS?
Express is a Node.js framework designed for building APIs, web
applications and cross-platform mobile apps, It is used as a server- side
scripting language.
Express is high performance, fast, lightweight, and unopinionated
What is REST API?
• REpresentational State Transfer (REST) is a popular architecture
which is used to create web services
• Application Program Interface (API) is a code that allows two
software programs to communicate with each other
It is a software that allows two applications to communicate with
each other with the help of internet and various devices
HTTP Request types
GET – It is used to request data
from the server but mainly this
method is used to read data
PATCH – It is used to update the
data, or to change/replace it
POST – Post method is used to
create new or to edit already
existing data
DELETE – It is used to delete the
data completely from the server
GET
PATCH
POST
DELETE
CLIENT sends a
request
Server sends a
response
HTTP
JSON
Express JS Rest API Tutorial

Express JS Rest API Tutorial

  • 2.
    What's in itfor you? • Introduction • What is Express JS? • What is REST API? • HTTP request types • Building RESTful API
  • 3.
    Introduction • REST APIsare the standard way to send and receive data for web services • Rest API is flexible and can handle multiple types of calls • RESTful API is very popular and very commonly used to create APIs for web- based applications Client REST API DATABASE
  • 4.
    What is ExpressJS? Express is a Node.js framework designed for building APIs, web applications and cross-platform mobile apps, It is used as a server- side scripting language. Express is high performance, fast, lightweight, and unopinionated
  • 5.
    What is RESTAPI? • REpresentational State Transfer (REST) is a popular architecture which is used to create web services • Application Program Interface (API) is a code that allows two software programs to communicate with each other It is a software that allows two applications to communicate with each other with the help of internet and various devices
  • 6.
    HTTP Request types GET– It is used to request data from the server but mainly this method is used to read data PATCH – It is used to update the data, or to change/replace it POST – Post method is used to create new or to edit already existing data DELETE – It is used to delete the data completely from the server GET PATCH POST DELETE CLIENT sends a request Server sends a response HTTP JSON