Gazason is a web application that allows you to calculate the cheapest petrol station prices for a given number of liters.
Table of contents
-
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
-
At first clone the repository
git clone https://github.com/alevidals/petrol-stations
-
Move to the backend directory
cd back
-
Install dependencies (You can use
npm
oryarn
instead ofpnpm
if you like)pnpm install
-
Execute the project (You can use
npm
oryarn
instead ofpnpm
if you like)pnpm run dev
-
Move to the frontend directory
cd front
-
Install dependencies (You can use
npm
oryarn
instead ofpnpm
if you like)pnpm install
-
Execute the project (You can use
npm
oryarn
instead ofpnpm
if you like)pnpm run dev
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