Extract data from https://date.nager.at/Api API - A public holiday dataset, transform the data in a readable format and load into a Postgresql database for accessibility, scheduled the flow to run and update table at 09:00, Sunday through Saturday with Airflow.
- Install Docker from https://docs.docker.com/compose/install/
- Deploy Airflow on Docker Compose https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html
- Setup PgAdmin, Postgres, and Airflow credentials for logins
$ docker compose up airflow-init
$ docker compose up
- Register server
- Setup connection and input credentials.
- Connect to postgres db in airflow. Admin -> Connections