A simple project for teaching/learning purposes to build a simple REST API serving converting currencies for its users.
Once a user issues a query to convert from one currency to another, the application interfaces with an external provider https://v6.exchangerate-api.com/ to fetch the exchange data and uses a database to store the fetched data. It utilizes Spring Boot, Maven, Postgres and Java to achieve its goals.
- Java 17 (Recommended 21)
- Spring Boot
- Maven
- Postgres
Assuming you have git setup These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Git, to be able to clone and contribute to the project https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
- Java 17 or later, installed on your machine
- Check SDKMAN https://sdkman.io/ 😉
- Maven https://maven.apache.org/install.html
- Postgres, ideally via Docker https://hub.docker.com/_/postgres
- Clone the repository:
git clone [email protected]:mazenmelouk/CurrencyExchange.git
- Navigate to the project directory:
cd CurrencyExchange
- Build the project using Maven:
mvn clean install
If you'd like to contribute to this project, please follow these guidelines:
- Fork the repository
- Create your feature branch (
git checkout -b feature-branch-name
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin feature/YourFeature
) - Create a new Pull Request
This project is licensed under the [GNU General Public License] - see the LICENSE.md file for details.