ABHI8769 / Curr-Con

Home Page:https://curr-con-flax.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CurrCon

CurrCon is a simple currency converter React application that allows users to convert between different currencies. It utilizes React's useState hook for managing state and custom hooks for fetching currency information.

Features

  • Convert currency from one unit to another.
  • Swap between "from" and "to" currencies.
  • Display real-time conversion.

Installation

To run CurrCon locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/your-username/CurrCon.git
  1. Navigate into the project directory:
cd CurrCon
  1. Install dependencies:
npm install / npm i
  1. Start the development server:
npm run dev

The application should now be running on http://localhost:5173.

Usage

  1. Select the currency you want to convert from in the "From" input field.
  2. Enter the amount you wish to convert.
  3. Select the currency you want to convert to in the "To" input field.
  4. Click the "Convert" button to see the converted amount.
  5. You can also click the "Swap" button to switch between the "from" and "to" currencies.

Dependencies

  • React: A JavaScript library for building user interfaces.
  • useState: A React hook for managing state in functional components.
  • InputBox Component: A custom input component for handling currency input.
  • useCurrencyInfo Hook: A custom hook for fetching currency information.

Contributing

Contributions to CurrCon are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.

© 2024 Abhijeet Goswami

About

https://curr-con-flax.vercel.app


Languages

Language:JavaScript 89.0%Language:CSS 7.6%Language:HTML 3.4%