/Rent-a-car-Prototype-JS

Project from the first year with JavaScript, implementing the Prototype pattern. Building the business logic of a rent-a-car.

MIT LicenseMIT

Rent-a-car-Prototype-JS

Project from the first year with JavaScript, implementing the Prototype pattern. Building the business logic of a rent-a-car.

NPM Commands

Check version NPM and node

First of all you should start checking that you've NPM and node installed into your machine, to know that type the following commands into the terminal:

  • $ node -v
  • $ npm -v
Start npm package

Now that we check that you've got your package manager isntalled you can proceed with the package structure creation for your project:

  • $ npm init
Install dependencies

To install dependencies on your project with npm:

  • $ npm i <dependency name>

To install a dev dependency on your project:

  • $ npm i <dependency name> --save-dev