Giter Club home page Giter Club logo

currency-exchange's Introduction

Currency Exchange

Screenshot 2023-02-27 at 16 03 45

Screenshot 2023-02-27 at 16 05 27

Screenshot 2023-02-27 at 16 03 45

About the app

This application implements the logic of displaying data on the exchange of one currency for another. Graphical displays of statistics and ratings of currencies in a chart or table are also presented. It is also possible to view the entire history of user requests with their repeated request or deletion from the history. There is a logic for storing data between page reloads / browser closes. The application also has internationalization

Approach and architecture

Application written in Typescript. The approach used as the architecture in the application is feature sliced ​​design (Official site). Redux (redux-toolkit) is used to store data, and redux-pesist is used to store state between page reloads. The redux-saga library was used to work with the network (architecture was laid for the possibility of scaling the application to medium and large sizes). The Matherial UI and styled-components were used as component libraries. The application also implements test examples of both individual helpers/utils logic and entire components (Jest and Enzyme libraries)

Get it Running

For normal operation in the root of the application, create a file .env.local and/or env.production and copy the contents of file .env.example into it

Version of the node.js used during the development of the application - 16.14.0

  1. install Dependencies: run npm i
  2. to run Currency Exchange: run npm start
  3. tests: run npm run test
  4. to build the project: run npm run build
  5. to eject configs: run npm run eject

Tech stack

  • typescript
  • react
  • matherial-ui
  • redux
  • redux-saga
  • redux-toolkit
  • styled-components
  • typescript
  • jest
  • enzyme
  • axios

Main Features

  • Used intl library for support of different locales
  • Implemented two variants of displayng of the data (table and chart)
  • Added lazy routes loading
  • Added toast notifications for indication of any issues/errors
  • Add unit tests for features using jest/enzyme

currency-exchange's People

Contributors

vasiliymelnik64 avatar

Watchers

 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.