GithubHelp home page GithubHelp logo

jamesjallorina / currency_exchange Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 13 KB

A currency exchange Converter with front-end and back-end application

License: MIT License

Python 58.06% QMake 8.22% C++ 33.71%

currency_exchange's Introduction

Table of Contents
  1. Note About The Requirements
  2. About The Project
  3. Getting Started
  4. License

Note About The Requirements

Original Requirements

  1. 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.
  2. The application should prioritize your local currency, EUR, and USD via the client UI.

Revised Requirements

  1. 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.
  2. Same requirement applies

(back to top)

About The Project

A simple currency exchange converter app.

Back-end

  1. The back-end is created in python
  2. It accepts a simple string message request ("Amount/Base Currency/Target Currency")
  3. It then forms an http get request (e.g., https://v6.exchangerate-api.com/v6/64476c34684aa8f913d634c9/pair/USD/PHP)
  4. Then it sends the request to exchange currency api
  5. Once the response is receive it will then send the reply to the client app in the format of "Amount" + "Target Currency"

Front-end

  1. The front-end is created in Qt creator (cross-platform)
  2. It accepts an amount, base currency, and target currency from the user input
  3. When the user click the convert button
  4. Tt then sends a simple string message request to the back-end
  5. The message request format is in the form of "Amount/Base Currency/Target Currency" (e.g., 40/USD/PHP)
  6. Once the response is receive from the backend it then displays the converted amount (e.g., 2,013.65PHP)

(back to top)

Built With

(back to top)

Getting Started

The application can be installed locally. Follow the simple steps below.

Prerequisites

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

Installation

Back-end Setup

  1. The backend can be run in any platform
  2. python3 backend.py -p )

Front-end Setup

  1. Open Qt Creator
  2. Open project for example: open -> path to project -> FrontEndApp.pro -> open
  3. Clicked on Build -> Run

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

currency_exchange's People

Contributors

jamesjallorina avatar

Stargazers

Joshua avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.