Git Product home page Git Product logo

currency-conversion's People

Contributors

dependabot[bot] avatar htdat avatar

Stargazers

 avatar  avatar

Watchers

 avatar

currency-conversion's Issues

Add state management to React app

  • Handle baseAmount change - 6605184
  • Handle swap buttons - ebcee0e
  • Move convertCurrency() to a separate file/functions, and handle when baseCurrency is not USD
  • Handle Settings (Add/Remove) - 8c1facc
  • Handle Settings (Add/Remove) - add search field - ea153fb
  • Handle LatestUpdate info
  • Save and load app state in localStorage - b644585

Support more than one source

Tasks for v1

  • Build Settings component
  • Update canFetchData() helper to handle

Sources:

To-do for v2

Not yet implement two followings sources:

  • https://fixer.io/ - free - 170 currencies - key required - base current is always EUR for free plans while current code can support USD as base only.
  • https://currencylayer.com/product - free - 84 currencies - key required. - the JSON response does not save exchange rates in rates key while the currency code checks this object key to verify data.

Other ideas

Give v1 better

  • Fix all warnings
  • Add prettier, husky, lint-staged db8a568
  • PropTypes #9
  • hooks - convert components from class to function
  • redux - DON'T DO THIS AS USED CONTAXT
  • context
  • Write test - nice to have
  • TypeScript - nice to have
  • Move to scss
  • Decouple functions in AppContext
  • Reduce the complexity of App.js
  • Change folder names: lib => utils or helpers, constants => config
  • Check HTML semantic tags #11

For v2

  • Work offline with service workers.
  • Add settings: font size settings,
  • Add settings: back or white background
  • Add settings: number of decimal
  • Add settings: how often the exchange rate is loaded when loading the app (by default 24 hours)
  • Add settings: force refresh apiData

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.