Exchange API is a REST API providing exchange rates and conversions for many currencies.
Exchange API is a Spring Boot project written in Java 24 and it uses following:
- fixer.io as exchange rate provider
- Spring Data for data persistence
- H2 as database
- Spring Doc for API documentation
- JUnit 5 for testing
- Gradle as build tool
You can Exchange API as a regular Java application in your favorite IDE with Main.java
as your main class. You can also run it with Gradle as following:
gradle bootRun
By default, Exchange API runs on localhost:8080
.
Exchange API can run out-of-the-box as long as credentials for rate provider is defined as FIXER_IO_KEY
environment variable or in application.yml
file.
API documentation is managed by Spring Doc. To access Swagger UI, open /swagger.html
in a web browser after running Exchange API. You can also find Open API specification at /docs
as a Json.
Exchange API is built with Gradle. You can use regular Gradle tasks such as clean
, compile
, test
tasks for development and testing.
All contributions are welcome, including requests to feature your project utilizing Exchange API. Please feel free to send a pull request. Thank you.
Exchange API is licensed with MIT License.