carlosdimatteo / fintrack-backend-go

0 stars 0 forks source link

Exchange rate module #15

Open carlosdimatteo opened 5 months ago

carlosdimatteo commented 5 months ago

implement api https://www.exchangerate-api.com/docs/free

exchange rate module that stores the exchange rates of many currencies in a database table and automatically updates them every X hours should store the time of the last update expose api endpoints get all exchange rates with last update get exchange rate per currency with last update

carlosdimatteo commented 5 months ago

https://stackoverflow.com/questions/53057237/how-to-schedule-a-task-at-go-periodically

carlosdimatteo commented 5 months ago

https://stackoverflow.com/questions/40364270/running-a-function-periodically-in-go