Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 2.39 KB

README.md

File metadata and controls

36 lines (25 loc) · 2.39 KB

exRate Hunter

exRate Hunter is a Python FastAPI application developed as part of the CoinSnark project. Its primary responsibility is to provide updated data to other APIs within the CoinSnark project, enabling them to consume data from Redis without the need to update it.

Responsibility

The application is tasked with consuming data from various external sources, such as the Central Bank of Brazil (BCB), Open Exchange Rates, and Exchange Rates API. These services provide relevant financial data, such as exchange rates.

Upon obtaining the data, the application consolidates it according to the specific business logic of the CoinSnark project. Subsequently, the consolidated data is written to Redis, an in-memory data store, for quick access by other parts of the project.

Usage

To utilize exRate Hunter, follow these instructions:

  1. Clone the repository.
  2. Install the dependencies listed in the requirements.txt file.
  3. Configure the environment variables in the .env file by renaming the .env-example file.
  4. Execute the main.py file to start the FastAPI server.
    uvicorn app.main:app --host 0.0.0.0 --port 8000

For more information about the CoinSnark project, please refer to the documentation: CoinSnark GitBook.


Thank you for exploring exRate Hunter. If you have any questions or suggestions regarding the project, I am happy to listen. Please feel free to get in touch.



Static Badge Static Badge Static Badge Static Badge