Checkout: CurrenSync
-
project for API
-
functionalities :
- calls an api to detect user's coutry.
- automatically set target currency(To) to the user's currency.
- calls another api to convert user's entered ammount to the currency they want.
- returns the following :
- when the exchange rate last updated.
- when's the next update.
- conversion rate of the currency.
- user's ammount with the conversion.
-
npm i to install all node packages
-
node index.js to run on default port
-
default port is 3000
-
use own api key if want to hit the api key route
P.S. Render's server is in Singapore, so default currency will be SG (till I buy a domain)