https://github.com/bohd4nx/currency-converter
Currency converter web app using Flask and exchangeratesapi.io API
https://github.com/bohd4nx/currency-converter
currency-converter currency-exchange-rates flask-converter python-convert
Last synced: 3 months ago
JSON representation
Currency converter web app using Flask and exchangeratesapi.io API
- Host: GitHub
- URL: https://github.com/bohd4nx/currency-converter
- Owner: bohd4nx
- Created: 2024-01-07T06:45:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-16T20:42:24.000Z (9 months ago)
- Last Synced: 2024-08-17T20:09:11.226Z (9 months ago)
- Topics: currency-converter, currency-exchange-rates, flask-converter, python-convert
- Language: CSS
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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`](https://github.com/bohd4nx/Currency-Converter/blob/main/static/css/styles-dark.css) for the dark theme and [`styles-white.css`](https://github.com/bohd4nx/Currency-Converter/blob/main/static/css/styles-white.css) for the light theme.To access real-time exchange rates, the project interacts with the chosen [API](https://exchangeratesapi.io/documentation/) 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



⬜White Theme


