1. What is Nodejs?
Node.js is an open-source and cross-platform runtime environment built on Chrome’s V8 JavaScript engine for executing JavaScript code outside of a browser.
2. What is Middleware?
- Middleware framework for handling the different routing.
- it works between the request and response cycle.
Middleware gets executed after the server receives the request and before the controller actions send the response.
_Advantages of using middleware: _Middleware can process request objects multiple times before the server works for that request.
Middleware can be used to add logging and authentication functionality.
Middleware improves client-side rendering performance.
Middleware is used for setting some specific HTTP headers.
3. What is Node Package Manager?
Node Package Manager (NPM) is a command line tool that installs, updates or uninstalls Node.js packages in your application.
In another words:
NPM (Node Package Manager) is the default package manager for Node.js
Top comments (1)
Thanks for the intro.