Skip to content

lappi-lynx/fixer_rates_report_service

Repository files navigation

This is Exchange Rates Consumer Application for Freska test application. Part of Test assignment for fetching exchange currencies data from fixer.io.

ruby

Description

Create a reports on currency development. Addplication configuration stored in DevConfig, AwsConfig etc in /config folder via anyway_config lib.

For a given it calculates the value and delta for:  - today vs yesterday  - today vs 7 days ago  - today vs 1 month ago  - today vs 1 year ago

You can add and remove any currency supported by Fixer to the report via app configuration. The application supports the following output formats: HTML, XLS, CSV, JSON. The report is created in one or several of these formats, depending on the applications configuration.

Tech info:

  • Ruby version 2.6.3

Setup

Please run bundle install before starting the script. You can start this app with ruby execute.rb:

Run tests:

RACK_ENV=test rspec spec/

Report example:

1 step

TODO List

  • Add Sidekiq worker for scheduling application reports generation
  • Add Formatter for JSON reports

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published