{"id":27290843,"url":"https://github.com/legomb/fedex-assignment","last_synced_at":"2026-04-17T07:31:52.669Z","repository":{"id":286574031,"uuid":"763615573","full_name":"legomb/fedex-assignment","owner":"legomb","description":"Analytics Engineering assignment for FedEx using dbt, cube.dev, and Superset","archived":false,"fork":false,"pushed_at":"2025-04-07T09:26:04.000Z","size":6882,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T21:44:13.467Z","etag":null,"topics":["cube","dbt","dbt-core","devcontainer","devcontainers","diagrams-as-code","docker","docker-compose","duckdb","kaggle","kaggle-dataset","mermaid","sqlfluff","superset","task","testing","tests"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/legomb.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-02-26T16:15:03.000Z","updated_at":"2025-04-07T09:25:57.000Z","dependencies_parsed_at":"2025-04-07T09:27:59.204Z","dependency_job_id":"fdc0af38-216c-40d0-908d-10bac700df57","html_url":"https://github.com/legomb/fedex-assignment","commit_stats":null,"previous_names":["legomb/fedex-assignment"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/legomb/fedex-assignment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/legomb%2Ffedex-assignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/legomb%2Ffedex-assignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/legomb%2Ffedex-assignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/legomb%2Ffedex-assignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/legomb","download_url":"https://codeload.github.com/legomb/fedex-assignment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/legomb%2Ffedex-assignment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31919916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["cube","dbt","dbt-core","devcontainer","devcontainers","diagrams-as-code","docker","docker-compose","duckdb","kaggle","kaggle-dataset","mermaid","sqlfluff","superset","task","testing","tests"],"created_at":"2025-04-11T21:39:11.643Z","updated_at":"2026-04-17T07:31:52.648Z","avatar_url":"https://github.com/legomb.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FedEx Analytics Engineering Assignment\n\n## Overview\n\nThis is my submission for the FedEx Analytics Engineering Assignment.\n\nIt features a contained environment with a data pipeline that ingests, cleans, and enriches the [Amazon E-Commerce Sales Dataset from Kaggle](https://www.kaggle.com/datasets/thedevastator/unlock-profits-with-e-commerce-sales-data), and makes the results available for BI.\n\n```mermaid\nflowchart LR\n    raw[\"`Raw data\n    (.csv file)`\"]\n    clean[\"Clean models\n    (dbt)\"]\n    enriched[\"Enriched models\n    (dbt)\"]\n    kimball[\"Kimball models\n    (dbt)\"]\n    SemanticLayer[\"Semantic Layer\n    (Cube.dev)\"]\n    BI[\"BI layer\n    (Apache Superset)\"]\n\n    raw --\u003e clean --\u003e enriched --\u003e kimball --\u003e SemanticLayer --\u003e BI\n```\n\n### Components\n\nThis project includes a workflow with:\n\n- Data transformations using [dbt](https://www.getdbt.com/)\n- Data storage using [DuckDB](https://duckdb.org/)\n- Semantic Layer models using [cube.dev](https://cube.dev/)\n- BI dashboards using [Superset](https://superset.apache.org/)\n- A basic data catalog using [dbt docs](https://docs.getdbt.com/docs/collaborate/documentation)\n- A local development environment using vscode devcontainer, linters, docker compose.\n\n### Out of scope\n\nDue to time constraints, the following areas are incomplete/out of scope:\n\n- Proper security handling for production, like not committing the `.env` file, using secrets, etc. (`.env` file is commited for demo purposes.)\n- Superset works and has a connection to cube, so it can be used to create dashboards. But there are no readymade dashboards included in this repo.\n- Devcontainer linters are not configured.\n- Limited data cleansing and testing.\n- The Pyspark part of this exercise was agreed to be skipped.\n\n## Quick reference\n\n- `REQUIREMENTS.md`: Original requirements.\n- `transform/models`: Data transformation models (dbt).\n- `cube/schema`: Semantic Layer models, to be used by BI dashboard apps (Cube.dev)\n- `superset`: Superset (BI dashboards)\n- `docker-compose.yml`: Local environment definition.\n- `taskfile.yml`: Available actions, to be used by maintainers and eventually the CI/CD.\n\n## How to run this demo\n\n### Requirements\n\n- Visual Studio Code\n- Docker\n\n### Instructions\n\n1. Open this repo in VSCode. Open the command palette (`Shift+Cmd+P` on mac) and select `Dev Containers: Rebuild and Reopen in Container`. This will spin up the environment including a devcontainer, cube, and superset.\n2. Open a terminal in the devcontainer and run:\n\n    ```sh\n    task demo:run-full-demo\n    ```\n\n3. Then:\n   - To see an overview of the **data transformation models and their metadata \u0026 lineage**, access the local dbt docs instance by navigating to [http://localhost:8080](http://localhost:8080).\n   - To view and manage the **semantic model data cubes and views**, open the local cube instance by navigating to [http://localhost:4000/](http://localhost:4000/).\n   - To view and manage **BI dashboards**, open the local Superset instance by navigating to [http://localhost:8088/login/](http://localhost:8088/login/) and log in with `admin`, `admin`. It has a connection to cube and you can create your own dashboards, but at the moment there are no readymade dashboards included in this repo.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flegomb%2Ffedex-assignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flegomb%2Ffedex-assignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flegomb%2Ffedex-assignment/lists"}