{"id":15060611,"url":"https://github.com/lawal-hash/olistelt","last_synced_at":"2026-02-17T01:32:56.119Z","repository":{"id":253468819,"uuid":"842383245","full_name":"lawal-hash/OlistELT","owner":"lawal-hash","description":"An end-to-end ELT data pipeline of the Brazilian olist e-commerce dataset using the modern data stack","archived":false,"fork":false,"pushed_at":"2024-08-28T07:21:23.000Z","size":18475,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-08-03T10:38:38.044Z","etag":null,"topics":["airflow","bigquery","dbt","dbt-core","docker","postgresql","sql"],"latest_commit_sha":null,"homepage":"https://lawal-hash-olistelt-dashboardapp-dev-7arv8r.streamlit.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lawal-hash.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-14T08:36:04.000Z","updated_at":"2024-09-11T06:46:32.000Z","dependencies_parsed_at":"2024-08-16T23:27:14.510Z","dependency_job_id":"6aa2b94a-3faa-4dba-b543-2bb3ae650ccf","html_url":"https://github.com/lawal-hash/OlistELT","commit_stats":{"total_commits":53,"total_committers":1,"mean_commits":53.0,"dds":0.0,"last_synced_commit":"e09c5c3b3132d0308a1d9e3412bda6a5391d591d"},"previous_names":["lawal-hash/olistelt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lawal-hash/OlistELT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawal-hash%2FOlistELT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawal-hash%2FOlistELT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawal-hash%2FOlistELT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawal-hash%2FOlistELT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lawal-hash","download_url":"https://codeload.github.com/lawal-hash/OlistELT/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawal-hash%2FOlistELT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278786685,"owners_count":26045591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["airflow","bigquery","dbt","dbt-core","docker","postgresql","sql"],"created_at":"2024-09-24T23:01:15.603Z","updated_at":"2025-10-07T14:05:18.617Z","avatar_url":"https://github.com/lawal-hash.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# OlistELT Pipeline\n\u003cdiv align=\"center\"\u003e\n   \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/Python%09-white?logo=python\"\u003e\n   \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/PostgreSQL%09-white?logo=postgresql\"\u003e\n   \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/bigquery%20-white?logo=googlebigquery\"\u003e\n   \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/dbt%09-white?logo=dbt\"\u003e\n   \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/Apache%20Airflow%20-white?logo=apacheairflow\u0026logoColor=green\"\u003e\n   \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/Docker%20-white?logo=docker\"\u003e\n   \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/Google%20Cloud%09-white?logo=googlecloud\" \u003e\n   \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/Git%09-white?logo=git\"\u003e\n\u003c/div\u003e\n\n![pipeline](images/final_diagram.png)\n\n## Demo\n\n\u003cimg src=\"images/airfow_two.gif\" alt=\"pipeline\" width=\"640\" height=\"400\"\u003e\n\n## Screenshots\n![pipeline](images/airflow_graph.png)\n\n\n![pipeline](images/dashboard.png)\n\n\n\n## Environment Variables\n\nTo run this project, you will need two API keys and two .env files (postgresql and airflow)\n\n\n`KAGGLE API KEY`\n\n`GCP SERVICE ACCOUNT KEY`\n\n| Postgres env | Airflow env| \n| -------- | -------- | \n|  `POSTGRES_USER`   |  `_AIRFLOW_WWW_USER_USERNAME`    | \n| `POSTGRES_PASSWORD`    | `_AIRFLOW_WWW_USER_PASSWORD`  | \n|  `POSTGRES_DB` ||\n\n```bash\npostgre_docker_init/\n├── ingestion/\n│   └── kaggle.json\n|   └── .env\n├── airflow/\n|   └── .env\n│   └── config/\n|        └── service-account.json\n├── dbt/\n|    └── service-account.json\n|\n└── dashboard/\n    └── .streamlit/\n        └── secrets.toml\n\n```\n## Run Locally\n\nClone the project\n\n```bash\n  git clone https://github.com/lawal-hash/OlistELT.git\n```\n\nGo to the project directory\n\n```bash\n  cd OlistELT\n```\n\nInstall dependencies\n\n```bash\n  pip install -r requirements.txt\n```\n\nStart the project in the following order\n\n| Folder | Command one| Command two|\n| -------- | -------- | --------|\n|  ingestion |  `cd ingestion`    | `docker compose up` |\n| airflow    | `cd airflow`  | `docker compose up`|\n\nAdd the following connection ids from with Airflow UI. Go to Admin -\u003e Connection then add the following\n\n`Postgres`\n* Connection Id = `postgres_conn_id`\n* Connection Type = `Postgres`\n* Host = `xxx`\n* Schema = `xxx`\n* Login = `xxx`\n* Password = `xxx`\n*  Port = `xxx`\n\n`Google Cloud Platform`\n\n* Connection Id = `gcp_conn_id`\n* Connection Type = `Google Cloud`\n* Project ID = `xxx`\n* Keyfile Path = `/opt/airflow/config/service-account.json`\n\nvalues `xxx` are the same as the one in Postgres .env file.\n\n\nChange the Dag state from *paused* to *active*. Ensure the Dag status is sucessful before proceeding to the next step.\n| Folder | Command one| Command two|  \n| -------- | -------- | --------|\n|  dbt |`cd dbt/olist_dbt` | `chmod +x run.sh \u0026\u0026 ./run.sh` | \n\nStart the dashboard server using the command below\n\n| Folder | Command one| Command two|\n--------|--------|--------|\n|dashboard |`cd dashboard` | `streamlit run app.py`|\n\n## Authors\n\n- [@lawal-hash](https://github.com/lawal-hash)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flawal-hash%2Folistelt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flawal-hash%2Folistelt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flawal-hash%2Folistelt/lists"}