Skip to content

4ikkamony/gses2-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

GSES2 task

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published