This is a simple currency converter application built using Spring Boot, which utilizes a third-party free API for currency exchange rates.
-
🌟 Convenient Currency Interaction: Retrieve a list of currencies relative to a specified currency. Convert a certain amount of one currency to another.
-
🧩 Modular Architecture: The project utilizes Spring Boot and follows a modular architecture, making it easy to add new features and maintain.
-
🛠️ Code Simplicity with Lombok: Leveraging Lombok simplifies the project's code, making it more readable and maintainable.
-
🧪 Unit Testing: The project's code is equipped with unit tests, enhancing its reliability and ensuring stable performance.
-
🗃️ Database Schema Management with Flyway: The application leverages Flyway migration for seamless database schema management, ensuring consistency across different environments.
-
🌐 JPA Bean Validation: The application uses JPA Bean Validation for validating entities and their properties, ensuring data integrity within the database.
- Spring Boot Validation: Input validation.
- Spring Boot Web: Building web-based applications.
- Spring Boot AOP: Modularization and cross-cutting concerns.
- Spring Boot Data: Simplified data access using Spring Data.
- OpenFeign: Interacting with external services
- Flyway: Database migration management.
- Lombok: Code simplification.
To run the project, follow these steps:
- Clone the repository:
git clone https://github.com/f3n1b00t/currency-exchanger.git cd currency-exchanger
- Run service:
export POSTGRES_URL=jdbc:postgresql://localhost:5432/currencies export POSTGRES_USERNAME=root export POSTGRES_PASSWORD=password ./gradlew bootRun
- Enjoy the project! 🎉
Spring Boot is Open Source software released under the Apache 2.0 license.