Giter VIP home page Giter VIP logo

converter's Introduction

Converter

Application to convert currencies based on fixer.io API build using React 16.13.1 & Redux 4.0.5 Application should be capable of handling both free and paid plan.

How to install

Download node.js at least 11th and run command npm i

Before build

Please set API_KEY provided from fixer.io. It should be set in webpack.common.js line 91 - API_KEY: JSON.stringify('<API_KEY>') Please change <API_KEY> to API key generated on fixer.io

How to run

To build development dist code run command npm run build:dev To build production dist code run command npm run build To run dev server run command npm run watch To run server with dist code run command npm run server To build production dist code and run it on server run command npm start To run all tests run command npm test

How to use

Open link http://localhost:4000/

Latest

On 'Latest' you have possibility to convert selected currency into many others.

  • Please fill 'From amount' you want to convert.
  • Please select 'From' currency. EUR is set by default. To find currency you can use filter field.
  • Please select 'To' currencies. If no currency is selected all currencies are taken into consideration. To find currency you can use filter field.
  • Please press 'Convert' button.
  • On 'To Amount(s)' you can find all converted currenies. To find currency you can use filter field.

Historical

On 'Historical' you have possibility to check historical convertion of selected currency into many others with details about difference.

  • Please fill 'From amount' you want to convert.
  • Please select 'From' currency. EUR is set by default. To find currency you can use filter field.
  • Please select 'To' currencies. If no currency is selected all currencies are taken into consideration. To find currency you can use filter field.
  • Please fill 'From date'. Note that if from date is set to date after to date is automatically changed to to date.
  • Please fill 'To date'. Note that if to date is set to date before to date is automatically changed to from date.
  • Please press 'Convert' button.
  • On 'To Amount(s)' you can find all converted currenies. To find currency you can use filter field.

Notes

After retrieving data from fixer.io data are automatically updated on change of each parameter. When there is no data presented or you noticed NaN values please use 'Convert' button to retrieve new set of data.

Tests

There are prepared some tests for actions, reducers and selectors. But due to Lack of more time not everything is tested.

converter's People

Contributors

awolan avatar fb-awo 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.