While I was on vacation, I decided to try some new technology. I started with Electron.
Electron is a library that helps you write web-based desktop applications. You write a web application, wrap it in an “electron shell”, build it, and it works like a regular desktop application.
Kursovik shows the rates for today and the difference with the yesterday rates. If it knows the rates for the next day shows it too. Draws a chart of how the rates have changed by the week, month, or a quarter.
If there’s no Internet connection, it shows the latest fetched data and a warning about the offline mode. Whe the Internet is accessible again the data will be automatically updated.
As a result of developing this, I learned how to work with Electron’s API and how to transfer data between different processes in the app. Learned how to work with tray on MacOS and found out a bit about the Windows architecture. Also, learned how unstable the site of the Central Bunk of Russia and its API are.