Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lyestarzalt/currencies_scraper
https://github.com/lyestarzalt/currencies_scraper
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/lyestarzalt/currencies_scraper
- Owner: lyestarzalt
- Created: 2022-07-07T13:12:09.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-02T04:14:17.000Z (about 2 months ago)
- Last Synced: 2024-11-02T05:18:07.626Z (about 2 months ago)
- Language: Python
- Size: 212 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Backend Architecture for Dinar Exchange Rates App
## Overview
This backend system is designed to manage the daily tasks of scraping exchange rates, processing the data, storing it, and sending notifications to users of the Dinar Exchange Rates App. It uses services from AWS and Firebase to ensure everything runs smoothly and efficiently.## How It Works
How It Works
1. Daily Trigger:
Every day at 9 AM, an AWS service called EventBridge starts the process by triggering the main function, Scraper_dinar.
2. Scraping Data: Scraper_dinar is the main function that controls everything. It calls three other functions—SourceOneScraper, SourceTwoScraper, and SourceThreeScraper—to collect exchange rate data from different sources.3. Processing and Storing Data:
After collecting the data, Scraper_dinar processes it and stores the final results in a Firebase database called Firestore.4. Sending Notifications:
Once the data is stored, another function called MobileNotification sends notifications to users using Firebase Cloud Messaging (FCM). This keeps users informed about the latest exchange rates.
User Access:The Dinar Exchange Rates App (built with Flutter) retrieves the stored data from Firestore and displays it to the users.
Diagram![Architecture Diagram](assets/aws_architecture.png)