Skip to content

a-u-93/task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Currency Exchange Task

Quickstart

dash quickstart

or

chmod +s quickstart
./quickstart

or (do not forget to copy without extratrailing rightmost spaces to craft proper shell command, if you copy by hand)

docker compose down

docker compose build

MARIADB_ROOT_PASSWORD=exchange \
MARIADB_DATABASE=exchange \
MARIADB_ADDRESS=127.0.0.1:3306 \
MARIADB_USER=exchange \
MARIADB_PASSWORD=exchange \
MIDDLEWARE_ADDRESS=127.0.0.1:7777 \
UPSTREAM_API='https://api.nbrb.by/exrates/rates' \
  docker compose up -d

test

curl 127.0.0.1:7777/year/month/day | jq .
curl -s 127.0.0.1:7777/ | jq .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published