This project is an API that retrieves and displays exchange rates from the API of the National Bank of the Republic of Belarus.
The project is written with FastAPI and SQLAlchemy in a fully asynchronous manner. AIOHTTP is used for requests.
docker compose
- Create
.env
from.example.env
. - Launch the project with
docker compose
from the project root:
docker compose up -d
The project is now available via these links:
- http://127.0.0.1:8000/
- Interactive API documentation is available here and an alternative here.
- The raw OpenAPI schema can be found here.
- If you don't specify a date for the endpoints, today's date will be used.
- To get a rate, you need to specify the internal currency code of nbrb api.