Magento 2 currency exchange calculator module for training purposes
This is Magento 2 currency exchange calculator project build for training purposes. It demonstrated how to wrap external API in Magento API and consume it with JS widget.
It’s simplified example. In production ready module some improvements would be recommended such of:
add following json to composer.json
{
"require": {
"plewandowski/currency-exchange-calculator": "*"
}
...
"repositories": [
{
"type": "vcs",
"url": "https://github.com/plewandowski/m2-currency-exchange-calculator"
}
]
}
then
composer update
Validation is done using magento validation componenet