currwwency-exchafdenge-apieation
v1.0.0
Published
a Node.js application that provides real-time currency exchange rates and currency conversion features
Downloads
3
Readme
README for Currency Exchange API Project Project Name: Currency Exchange API
Description: Currency Exchange API is a Node.js application that provides real-time currency exchange rates and currency conversion features. It utilizes the "ExchangeRate-API" to fetch live data and offers a RESTful API endpoint for developers to integrate currency conversion into their applications or services.
Installation:
Clone this repository to your local machine. Navigate to the project directory. Run npm install to install the necessary dependencies, including express and axios. Sign up at ExchangeRate-API to obtain an API key and add it to your environment variables. Usage: Start the server with:
Copy code node index.js API Endpoints:
GET /api/rates: Retrieves the latest currency exchange rates. GET /api/convert: Converts an amount from one currency to another. Requires query parameters from, to, and amount. Dependencies:
express: Web application framework. axios: For making HTTP requests. Contributing: Contributions are welcome! Please fork the repository and submit a pull request with your proposed changes.
License: This project is licensed under the MIT License - see the LICENSE file for details.