This repository contains a Java project for managing purchase transactions and currency conversion. The project uses an embedded H2 database, eliminating the need for external installations.
Usage Instructions:
-
Clone the repository to your local environment.
-
Open the project in your preferred IDE.
-
Run the Java application.
-
Access Swagger to interact with the API endpoints: Swagger UI
/transaction/add: Create a new purchase transaction.
/transaction/{id}: Retrieve a purchase transaction by ID.
/transactions: Retrieve all purchase transactions.
/transaction/currency/convert: Convert purchase transactions to a specific currency.
Database:
The project uses an embedded H2 database, which means you don't need to configure an external database. All data is stored locally during the application's execution.