-
npm install
-
npm start
-
localhost:3000
This will save the depedency in package.json file so that others can install it on their system before running the code.
-
npm install --save *dependency_name*
These are those dependencies which are required at runtime as well as during development.
-
npm install --save-dev *dependency_name*
These are those dependencies which are only required during development.