Skip to content

An app that returns the current exchange rate for a selected currency

Notifications You must be signed in to change notification settings

emmalgs/currency-exchange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Currency Conversion

By Emma Gerigscott

gif of webpage in action

Select a currency to see the current conversion rate

Technologies Used

  • API calls
  • Javascript
  • fetch and async
  • HTML
  • CSS
  • npm
  • Node.js
  • ESLint
  • Jest
  • Babel
  • Dotenv

Description

A currency conversion webpage that accesses up-to-date currency exchange APIs and supported country codes through asynchronous fetch calls. Mainly to practice calling promises, asynchronous methods, and chaining promises.

Setup/Installation Requirements

  • Clone this repository to your desktop
  • Navigate to the root directory in your terminal and run
$ npm install
  • In the root directory, create a file called .env
$ touch .env
  • Go to Exchange Rate API and create a free account to access an API token.
  • With your API token, navigate to your .env folder and save your token to API_KEY.
API_KEY={YOUR API TOKEN}
  • After all packages are installed and your personal API token is saved to the .env file, to start the project's server, in the root directory in your terminal run
$ npm run start

Known Bugs

  • Needs some pizazz, frankly

License

Copyright (c) 2023 Emma Gerigscott

About

An app that returns the current exchange rate for a selected currency

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published