Skip to content

Currency converter web app using Flask and exchangeratesapi.io API

Notifications You must be signed in to change notification settings

7GitGuru/Currency-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This currency converter project consists of a backend and frontend structure, utilizing Python and Flask for the backend logic, and HTML/CSS/JavaScript for the frontend components.

Backend:

  • Flask Framework: Used for routing, handling HTTP requests, and serving HTML templates.
  • SQLite Database: Stores conversion history.

Frontend:

  • HTML: Structure and content of web pages.
  • CSS: Stylesheets for styling the pages.
  • JavaScript: Enables interactivity and handling of user actions.

API Integration:

The project fetches real-time exchange rates from an external API service, such as exchangeratesapi.io. To integrate the API, you need to sign up on their website to obtain an API token or key.

Themes:

The project offers the choice between light and dark themes by connecting different stylesheet files: styles-dark.css for the dark theme and styles-white.css for the light theme.

To access real-time exchange rates, the project interacts with the chosen API by sending HTTP requests with the currencies to convert between and receiving responses containing the current exchange rates. The retrieved data is then processed and displayed to the user.

Overall, this currency converter project showcases the integration of backend logic with Flask, frontend design using HTML/CSS/JavaScript, and the utilization of an external API to retrieve real-time exchange rates, providing users with a practical tool for currency conversion.


preview

⬛Dark Theme

image image image image

⬜White Theme

image image image