API for obtaining currency exchange rates. Service uses external API https://exchangerate.host/.
- Python 3.12
- FastAPI 0.115
- SQLAlchemy 2.0
- PostgreSQL
- Redis
- Docker
- alembic
- httpx
Linters and tests: isort, flake8, mypy, pytest.
The project is evolving, new features are coming soon.
If you'd like to launch project on your own machine, after cloning repository you should follow the next steps:
- Get access key on https://exchangerate.host/
- Set environment variable EXCHANGERATE_ACCESS_KEY to obtained access key in file
env.example
(or you can set it in file.env
inside the containerweb
after docker run) - Run
docker compose up
API Documentation is available on http://127.0.0.1:8000/docs.