Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rudradcruze/currencyconverter
Simple Spring Boot Application Where I Called Third Party API To Convert The One Currency To Another Currency And Also Log Those And Use Actuator And Swagger UI
https://github.com/rudradcruze/currencyconverter
actuator java logger logging openapi restclient springboot swagger
Last synced: about 1 month ago
JSON representation
Simple Spring Boot Application Where I Called Third Party API To Convert The One Currency To Another Currency And Also Log Those And Use Actuator And Swagger UI
- Host: GitHub
- URL: https://github.com/rudradcruze/currencyconverter
- Owner: rudradcruze
- Created: 2024-08-04T03:49:54.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-06T12:36:10.000Z (3 months ago)
- Last Synced: 2024-10-14T05:01:29.189Z (about 1 month ago)
- Topics: actuator, java, logger, logging, openapi, restclient, springboot, swagger
- Language: Java
- Homepage:
- Size: 661 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Currency Converter
This is a simple currency converter that converts one currency to another. It uses the [Free Currency API](https://freecurrencyapi.com/) to get the exchange rates. In our controller user can pass the base currency, the target currencies and then the amount to convert. The controller will then return the converted amount. The errors are also handled in the controller.## Features
- Convert one currency to another
- Handle errors
- Get the exchange rates
- Logging
- Swagger UI
- Monitor the application using Actuator## Technologies
- Java 21
- Spring Boot 3.3.2
- Maven
- MySQL
- S4J Logging
- Swagger UI
- Actuator## Endpoints
- `/convert` - POST request to convert the currency
- `?baseCurrency=USD` - The base currency
- `&targetCurrencies=EUR,CAD,GBP` - The target currencies
- `&amount=100` - The amount to convert
- `/actuator` - Monitor the application
- `/swagger-ui.html` - Swagger UI
- `/v3/api-docs` - API documentation## How to run
1. Clone the repository
2. Open the project in your favorite IDE
3. Run the project## 🚀 About Me
Tech-savvy learner/programmer pushing boundaries of online tech. Passionate about new tools, seeking challenges to advance skills.
## 🔗 Social Links
![Name](https://img.shields.io/badge/Name-Francis%20Rudra%20D%20Cruze-yellowgreen?style=for-the-badge)
[![linkedin](https://img.shields.io/badge/linkedin-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/rudradcruze)
[![twitter](https://img.shields.io/badge/twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://twitter.com/rudradcruze)
[![Facebook](https://img.shields.io/badge/facebook-4267B2?style=for-the-badge&logo=facebook&logoColor=white)](https://facebook.com/rudradcruze)
[![[email protected]](https://img.shields.io/badge/gmail-4267B2?style=for-the-badge&logo=gmail&logoColor=white)](mailto:[email protected])