Skip to content

Aleks334/currency-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple currency converter

Currency converter written in JS with React library. Used this API.

Features

  • Ability to select the currency to convert from/to for conversion (with a drop-down list).
  • Currencies codes (e.g. EUR) are mapped to their proper names.
  • Ability to type into input field amount of currency for conversion (decimal and float numbers greater or equal 1 only. Step = 0.01)
  • Real-time date and time (language-sensitive representation).
  • A button for swapping selected currencies.
  • An activity indicator, which runs every time data is fetched from API.

Getting Started

To run the React Currency Converter on your local machine, follow these steps:

  1. Clone the repository to your local machine using the following command:
git clone https://github.com/Aleks334/currency-converter
  1. Navigate to the project directory:
cd currency-converter
  1. Install the required dependencies:
npm i
  1. Add .env file in the root directory of project. Include there this line:
VITE_API_KEY=your_api_key
  1. Run the development server (Vite):
npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published