ExpressJS
What is ExpressJS
This is Node.js web application frameworks which provides robust set of features to Develop Web and Mobile Applications and RESTful APIs. Among these features there are several highlighted Core Features.
Features Of ExpressJS
High Performance
Can Setup middlewares to Response to HTTP Requests.
Re-usability
Robust Routing
can gain more features via plugins
Installing ExpressJS
First have to install Express framework globally by using npm commands, using this bellow command save the installation locally in @node_modules and creates a directory express inside @node_modules
npm install express --save
There are three more module, in order to work with express and handle HTTP request and responses.those three modules should install to work with Express.
1. cookie-parser
To Parse Cookies header and populate req.cookies
npm install cookie-parser --save
2. body-parser
To handle JSON, RAW, Data injected URLs, Text
npm install body-parser --save
3. multer
To handle multipart/form-data
npm install multer --save
Comments
Post a Comment