Project testing the Pagar.me api to implement card payment
This api consume focus on create a validated Formik form (using yup to simplify our validations) to create a payment form for box of fruits.
In this project we use create-react-app with typescript, making our project typed and easy to maintenance. And we use the following dependencies:
- Formik to make easy our form structure
- Yup to validade all the fields inside our form
- Axios to do our api requires
- **Pagar.me** api to make our card payment possible