Skip to content

Latest commit

 

History

History
75 lines (46 loc) · 1.52 KB

README.md

File metadata and controls

75 lines (46 loc) · 1.52 KB

Flask Currency Converter

A simple web application built with Flask to convert currency using exchange rates from an external API.

Features

  • Convert currency from one type to another.
  • Uses free API for currency exchange rates (No API key required).
  • Handles errors gracefully.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Python 3.x
  • Flask
  • requests

Installing

  1. Clone the repository:

    git clone https://github.com/Hasnainbro/Currency-Converter
  2. Navigate to the project directory:

    cd Cuurency-Converter
  3. Install requests library using pip:

    pip install requests
  4. Install Flask using pip:

    pip install Flask

Running the Application

  1. Run the Flask app:

    python app.py
  2. Open your web browser and go to http://localhost:5000.

Usage

  1. Enter the amount you want to convert.
  2. Select the currency you want to convert from and to.
  3. Click the "Convert" button to see the converted amount.

Built With

  • Flask - Web framework for Python.
  • requests - HTTP library for Python.

Authors

License

This project is unlicensed and is free to use by anyone for any purpose. - see the LICENSE file for details.