watermark logo

3 Views· 14 July 2022

Learn Async/Await in This Real World Project

Advertisement

Advertise With Vidude


MilesSidhu
Subscribers

Link to the medium article: https://medium.freecodecamp.or....g/how-to-master-asyn

Direct links to API's:
https://restcountries.eu/rest/....v2/currency/[toCurre

Many of you had requested that I create a patreon, here it is, you get the chance to become one of the first supporters - https://www.patreon.com/javascriptmastery.

http://data.fixer.io/api/latest?access_key=f68b13604ac8e570a00f7d8fe7f25e1b&format=1

In this tutorial, we will build simple, but educational and useful application that is going to improve your overall knowledge of Async/Await in JavaScript.

The program will take in currency code we want to convert from and currency code we want to convert to, as well as the amount of money, afterwards, the program will output correct exchange rate based on the data from the API's.
In this application we're going receive data from two asynchronous sources:

1. Currency Layer - https://currencylayer.com  -  You'll need to sign up for free so you can use API Access Key. This API will provide us with data needed to calculate exchange rate between currencies.
2. Rest Countries - http://restcountries.eu/  -  This API will give us information about where can we use the currency we just converted our money to.

Show more


Up next

Advertisement

Advertise With Vidude


0 Comments