Skip to content

igdimer/currency_converter

Repository files navigation

Currency converter

API for obtaining currency exchange rates. Service uses external API https://exchangerate.host/.

Stack

  • 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.

Launch project

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 container web after docker run)
  • Run docker compose up

API Documentation is available on http://127.0.0.1:8000/docs.

About

API for obtaining currency exchange rates (FastAPI)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages