This is an API for getting hard-coded exchange rates for some currencies
- NodeJS
- Express
Run git clone https://github.com/HENRYKC24/currency-converter-server.git
in your terminal
Run cd currency-converter-server
to navigate to the project folder
Run yarn install
from the command line to install all dependencies
Run yarn start
from the command line to start the server
Responses come in standard JSON.
http://localhost:4000/
Response:
{
"status": "success",
"message": "Welcome!"
}
http://localhost:4000/api/v1/rates/USD
Response:
{
"status": "success",
"rates": {
"USD": 0.65
}
}
http://localhost:4000/api/v1/rates/USD,AUD
Response:
{
"status": "success",
"rates": {
"USD": 0.65,
"AUD": 1
}
}
👤 Henry Kc
- GitHub: @githubhandle
- Twitter: @twitterhandle
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- I remain indebted to all software engineers across the world for helping me in one way or the other in the project and in my career.
This project is MIT licensed.