Unit 2 Mean - Stack
Unit 2 Mean - Stack
1. Introduction to Express.js?
4. Unopinionated Framework
Developers love the Express framework, for it does not have any
strict rules on the placement or order of code components.
Postman?
Postman is one of the most popular software testing tools which
is used for API testing. With the help of this tool, developers can
easily create, test, share, and document APIs.
Postman is a standalone software testing API (Application
Programming Interface) platform to build, test, design, modify,
and document APIs. It is a simple Graphic User Interface for
sending and viewing HTTP requests and responses.
This tool has the ability to make various types of HTTP requests
like GET, POST, PUT, PATCH, and convert the API to code for
languages like JavaScript and Python.
PUT- The PUT method requests that the server accept the
data enclosed in the request as a modification to existing
object identified by the URI. If it does not exist then the
PUT method should create one.
Application-level middleware
Router-level middleware
Error-handling middleware
Built-in middleware
Third-party middleware
Serving Static files in Express?
Express provides built-in middleware that allows us to
serve static files directly from the file system.
There are a number of different types of web service APIs such as:
1. SOAP — Simple Object Access Protocol