This is a practical test from Stone that I found free here on github and decided to do. The test is basically creating a dollar purchase converter and simulator! With tax rate, IOF rate.
It was a simple and fun little project to do, the point of this project is the logic that you will use to simulate the purchase of currency, adding rates and dollar value.
I used an API to get the current dollar value and always perform the simulation with data as close to reality as possible.
Using hooks to separate API functionality and maintain clean and accessible code, axios for API consumption.
This project was developed with the following technologies:Feel free to contribute to this project! Remember that practice makes perfect.
- Next.JS
- TypeScript
- Hooks
- Clean Code
The application is available for use here. You can also run it on your machine locally. Make sure you have Node.js
and npm
installed before proceeding with the steps below:
- Clone the project:
$ git clone https://github.com/natamartins/PayMents.git
- In your termi, access the past folder:
$ cd PayMents
- Install dependencies:
$ npm install
- Start the project:
$ npm run dev