Skip to content

beatriznonato/anticipation-calculator

Repository files navigation

Anticipation Calculator

Description of Challenge

Today Hash customers need to know how much it costs to anticipate a transaction, and for that, it was necessary to develop an anticipation calculator so that they are able to know what amounts they will receive if they choose to anticipate receipt. 💰

Portuguese original challenge paper complete

Front-End Challenge

User Story

As a User

  • I can access the anticipation calculator;
  • Providing the sales price, number of installments and fee charged by buyers for each credit or debit card transaction;
  • I hope to get the result I will receive in one day, 15 days, 30 days and 90 days .

Pre Requirements ❗

  • It is necessary install Node and Yarn (optional, or switch to npm next steps).

How to Install

To install in developer mode, follow the step-by-step:

  1. Download the repository on your computer.
  2. Access the directory where you downloaded this project and run the command below. Install dependencies
  $ yarn install

How to Run

Run the project

 $ yarn start

Run the tests

 $ yarn test

Bonus ⭐

Link of the materials I used to make the commit semantically and visually and automatically together with Husky.

License

MIT © Beatriz Nonato 👩‍💻