Go to file
dependabot[bot] 3a0af857ac Bump roda from 3.85.0 to 3.86.0
Bumps [roda](https://github.com/jeremyevans/roda) from 3.85.0 to 3.86.0.
- [Changelog](https://github.com/jeremyevans/roda/blob/master/CHANGELOG)
- [Commits](https://github.com/jeremyevans/roda/compare/3.85.0...3.86.0)

---
updated-dependencies:
- dependency-name: roda
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-19 20:05:44 +01:00
.github Fix failed checks on dependabot pull requests 2024-10-28 23:01:17 +01:00
bin Work around ecb rate limiting 2020-04-02 14:38:07 +01:00
config Fix rubocop offenses 2023-02-28 16:49:48 +00:00
db/migrate Fix Rubocop offense 2024-10-28 10:26:28 +01:00
lib Bump ruby and gems 2024-10-03 22:17:17 +02:00
spec Bump ruby and gems 2024-10-03 22:17:17 +02:00
.dockerignore Use or infer from .ruby-version 2021-05-12 13:12:21 +01:00
.env.example Rebrand, serve HTML 2018-06-08 15:32:52 +01:00
.gitignore Clean up ignores 2019-12-20 01:02:07 +00:00
.rubocop_todo.yml Fix rubocop offenses 2023-02-28 16:49:48 +00:00
.rubocop.yml Use or infer from .ruby-version 2021-05-12 13:12:21 +01:00
.ruby-version Bump ruby and gems 2024-10-03 22:17:17 +02:00
CHANGELOG.md Root returns link to docs 2020-05-02 19:38:36 +01:00
config.ru Switch to Roda 2020-05-08 14:50:09 +01:00
docker-compose.yml feat: add a docker-compose.yml with included database for more convenient self-hosting 2024-11-17 22:21:13 +01:00
Dockerfile Fix Dockerfile 2024-10-03 22:22:42 +02:00
Gemfile Use or infer from .ruby-version 2021-05-12 13:12:21 +01:00
Gemfile.lock Bump roda from 3.85.0 to 3.86.0 2024-11-19 20:05:44 +01:00
LICENSE Remove dates from license 2017-01-03 12:44:13 +00:00
Rakefile Repack app 2018-03-08 23:51:36 +00:00
README.md feat: add a docker-compose.yml with included database for more convenient self-hosting 2024-11-17 22:21:13 +01:00

Frankfurter

Build

Frankfurter is a free and open-source currency data API that tracks reference exchange rates published by the European Central Bank.

api.frankfurter.app hosts a public instance of the API.

Getting Started

Get the latest exchange rates.

https://api.frankfurter.app/latest

Get rates for a past date.

https://api.frankfurter.app/2000-01-03

Get rates for a period.

https://api.frankfurter.app/2010-01-01..2010-01-31

Deployment

You can self-host Frankfurter with Docker.

docker run -d -p 8080:8080 \
  -e "DATABASE_URL=<postgres_url>" \
  --name frankfurter hakanensari/frankfurter

Alternatively, copy the docker-compose.yml file to your system, and in the same directory run:

docker compose up --wait 

This will also setup and host the PostgreSQL for Frankfurter.