Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 785 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 785 Bytes

gses2-btc-application

An app that can:

  • Get BTC to UAH exchange rate from a public API
  • Create a mailing list(with provided e-mail addresses) and store it locally
  • Send out e-mails with the exchange rate when politely asked to

Docker

build the image

docker build . -t 4ikkamony/btc_app

run it

docker run -p 8080:8080 -d 4ikkamony/btc_app

Image at DockerHub

Swagger-UI will be availble at http://localhost:8080/docs/

Some info on app

  • Exchange Rate API: BitPay
  • E-mails are sent via nodemailer
  • Subscribed e-mails are stored in data/emails.json

Stay safe!

Ahah