Skip to content

A Simple but strong and efficient Currency Converter Application build using Java and Spring boot with ExchangerateApi and with stunning swagger ui .

Notifications You must be signed in to change notification settings

roshan-rafeeq/Currency_Convertor_springboot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Currency Converter API

A Spring Boot REST API for currency conversion using real-time exchange rates.

Features

  • Convert currency amounts between different currencies
  • Swagger UI for API documentation
  • Exception handling for invalid requests
  • JUnit tests for service and controller layers

Technologies Used

  • Spring Boot
  • Spring Web
  • Spring Boot Test & JUnit
  • Lombok
  • RestClient (Spring 6)
  • Swagger OpenAPI

Prerequisites

  • Java 17+
  • Maven
  • Internet connection for fetching live exchange rates

Installation

Clone the repository

git clone https://github.com/your-username/currency-converter-api.git
cd currency-converter-api

Build & Run the Application

mvn clean install mvn spring-boot:run

Run in Debug Mode

mvn spring-boot:run -Ddebug

API Documentation

Once the application is running, access Swagger UI at:

Example API Call

Running Tests

Run all JUnit tests with:

mvn test

SCREENSHOTS

Swagger UI

Swagger UI

API Response Example

API Response

API Response Example

API Response

License

MIT License. Free to use and modify.

About

A Simple but strong and efficient Currency Converter Application build using Java and Spring boot with ExchangerateApi and with stunning swagger ui .

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages