Table of Contents
- The application should be able to display the exchange rate from one currency to another on either today's date or a date in the past.
- The application should prioritize your local currency, EUR, and USD via the client UI.
- The currency exchange api doesn't give access to be able to process higher level api request. I revised the requirements to only process simple currency conversion based from the latest exchange rates.
- Same requirement applies
A simple currency exchange converter app.
Back-end
- The back-end is created in python
- It accepts a simple string message request ("Amount/Base Currency/Target Currency")
- It then forms an http get request (e.g., https://v6.exchangerate-api.com/v6/64476c34684aa8f913d634c9/pair/USD/PHP)
- Then it sends the request to exchange currency api
- Once the response is receive it will then send the reply to the client app in the format of "Amount" + "Target Currency"
Front-end
- The front-end is created in Qt creator (cross-platform)
- It accepts an amount, base currency, and target currency from the user input
- When the user click the convert button
- Tt then sends a simple string message request to the back-end
- The message request format is in the form of "Amount/Base Currency/Target Currency" (e.g., 40/USD/PHP)
- Once the response is receive from the backend it then displays the converted amount (e.g., 2,013.65PHP)
The application can be installed locally. Follow the simple steps below.
Install the following tools
- python3
sudo apt update sudo apt -y upgrade sudo apt install -y build-essential libssl-dev libffi-dev python3-dev
- Qt Creator
https://doc.qt.io/qt-5/gettingstarted.html
Back-end Setup
- The backend can be run in any platform
- python3 backend.py -p )
Front-end Setup
- Open Qt Creator
- Open project for example: open -> path to project -> FrontEndApp.pro -> open
- Clicked on Build -> Run
Distributed under the MIT License. See LICENSE.txt
for more information.