Skip to content

Latest commit

 

History

History
90 lines (66 loc) · 1.65 KB

README.md

File metadata and controls

90 lines (66 loc) · 1.65 KB

Petrol Stations

Gazason is a web application that allows you to calculate the cheapest petrol station prices for a given number of liters.

Table of contents

To start

Prerequisites

  • Node > 20 version. You can use NVM to setup a node version manager

  • Package manager

    • PNPM

      npm install -g pnpm
    • NPM

      npm install -g npm@latest
    • YARN

      npm install -g yarn

Installation

At first clone the repository

git clone https://github.com/alevidals/petrol-stations

Back

  1. Move to the backend directory

    cd back
  2. Install dependencies (You can use npm or yarn instead of pnpm if you like)

    pnpm install
  3. Execute the project (You can use npm or yarn instead of pnpm if you like)

    pnpm run dev

Front

  1. Move to the frontend directory

    cd front
  2. Install dependencies (You can use npm or yarn instead of pnpm if you like)

    pnpm install
  3. Execute the project (You can use npm or yarn instead of pnpm if you like)

    pnpm run dev

Tests

To execute tests on the frontend execute the following script (You can use npm or yarn instead of pnpm if you like)

pnpm test:unit