An application that takes messages as inputs, and based on the type of message the application needs to call different API accordingly, and finally transform and write the data to database.
- Use python3
pip install pymysql
- Put all your json formatted messages in msg1.json file delimited with comma
- From terminal cd to the project folder. Run
docker-compose up
- Execute rateconversion.py
- lastmonthAUD.py backfills last month’s data for AUD currency and should be run separately as it's assumed to just fill the database once
- Unit Testing provided on test.py and should be run with
python3 test.py
- DB schema is included inside sql_dump2 folder which contains three tables