currencyrateupdater

1.0.0 • Public • Published

currencyExchangeUpdate

A console app which calls external API endpoint and updates current exchange rates in DB with latest

Argument example when launching (required, configured in Debug): --company-id (Default: 23) Id of Company row which contains required connection strings --base-currency (Default: EUR) Base currency to which the currency exchange rates are relative to --currency Required. Currency exchange rates to update in CSV format --help Display this help screen. --version Display version information.

Environment variables:

  • ASPNETCORE_ENVIRONMENT: Staging/Production

Depending on environment, it will get initial connection string from appsettings.Staging.jsos or appsettings.Production.json

All other connection string are pulled from ditto database

PowerShell command, assuming working directory where *.sln is: C:[directory]\CurrencyRateUpdater> docker build -t currencyrateupdater -f CurrencyRateUpdater/Dockerfile .

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i currencyrateupdater

      Weekly Downloads

      1

      Version

      1.0.0

      License

      ISC

      Unpacked Size

      73.3 kB

      Total Files

      42

      Last publish

      Collaborators

      • tomaszkstech