Expressjs
💙What is express?
Express provides a minimal interface to build our applications.
It provides us the tools that are required to build our app.
It is flexible as there are numerous modules available on npm, which can be directly plugged into Express.
💙Why use express?
It is very flexible and pluggable.
Expressjs Environment
We will learn how to start developing and using the Express Framework in this chapter.
npm stands for Node Package Manager.
How to use npm?
There are two ways to install a package using npm: globally and locally.
1.Globally
: This method is generally used to install development tools and CLI based packages.
Example: npm install -g <package-name>
2.Locally
: This method is generally used to install frameworks and libraries.
Example: npm install <package-name>
No comments:
Post a Comment