Make sure docker is installed.
git clone https://github.com/tim-hub/sanic-currency-exchange-rates-api
- python 3.10
- export DATABASE_URL = 'psql url'
- poetry install
- poetry run python src/main.py
docker build -t rate-api . && docker run --name rate-api -t -i -e DATABASE_URL=postgresql://user:pwd@dburl/exchange rate-api
- unit test
- integration test