Blog 7) Node package manager (NMP)

What have i learnt?

Node package manager or NPM for short is a library of thousands of free packages that you can install to use in your projects. Each package offers something different. When you install a package of your choosing it will be installed in a node_modules folder, and any future installed packages will be installed directly into that folder.

Why have i learnt this?

In the Industry environment you will be working on a range of different projects that will require all sorts of different packages.

How have i learnt this?

When we started to make our projects we used the simple command “NPM create-React-app” This was the method of created a React project that had all the needed finals to get us started using React.

During our project we had to have both a backend and a front section on our project so that we could host it through the webdev sever hosted through Talos. In order to created a simple backend we had to use the command NPM install express. This installed the needed packages for our backend.

What do you know now that you didn’t before?

Before i started creating projects with React i had no idea that there were so many packages that could be installed that would create a great template for you as the developer to start with.

What is the point?

React is a well known and used framework that is used by many businesses and projects. It is important to know how to use these packages and understand that they are there to make your life as a developer much easier.

What will i do to remember this learning?

As i explore the framework that is React i will try a wide range of packages for my projects. No doubt there will be the common packages that you will use in almost all your projects such as express, mysql or mongodb but it is important to explore more options.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Design a site like this with WordPress.com
Get started