Skip to content

SuviGod/currency_rate_checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CURRENCY RATE CHECKER API

This API allows to receive last Bitcoin to USD price on White Bit platform. Also, it allows to get it on an email by subscribing preferred email and then send rate onto all subscribed emails, or send rates onto specified emails immidiately.

Since API doesn't have authentication, subscription functionality was disabled in prod version.

Swagger UI documentation is accesible by endpoint /swagger-ui/index.html#/

Build docker image

Pull the image from dockerhub

Pull image

docker pull sulimaivan/currency-app:latest_prod

or for the full version image

docker pull sulimaivan/currency-app:latest

Manually build image

./mvnw clean install -DskipTests

cp target/task-0.0.1-SNAPSHOT.jar src/main/docker/application.jar

docker build src/main/docker/ -t sulimaivan/currency-app

Deploy

Start the container

docker run -e EMAIL_SENDER_LOGIN='[email protected]' -e EMAIL_SENDER_PASSWORD='yourpassword' -p 80:8080 sulimaivan/currency-app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published