Professional dbt + Airflow analytics pipeline for e-commerce order analytics.
This repository is a production-ready, opinionated implementation of an analytics platform built with dbt (models, tests, docs) and Airflow for orchestration. It's organized and documented to match the standards expected from senior/consultant-level Upwork engagements.
- Clear project structure for staging, marts, and snapshots
- Automated tests and data quality checks (dbt tests and generic tests)
- Airflow DAGs orchestrating dbt runs with robust retries and alerts
- CI-ready: simple GitHub Actions pipeline to run dbt jobs and publish docs
- Includes portfolio and proposal templates oriented for high-value Upwork work
Prerequisites: Python 3.9+, dbt-core (and adapter), Airflow (>=2.0), Docker (optional).
-
Install dependencies:
pip install -r requirements.txt
-
Configure your
profiles.ymlfor your target data warehouse. -
Run locally:
- dbt deps
- dbt seed
- dbt run
- dbt test
-
Generate docs:
- dbt docs generate
models/- dbt models (staging, intermediate, marts)macros/- dbt macros and testing helpersairflow/dags/- DAGs that orchestrate dbt runs and data quality checksdocs/- project overview, case studies, and Upwork materialstests/- test harness and integration tests
Follow the CONTRIBUTING.md guidelines (coming soon): code style, SQL formatting, and how to add tests and docs. We use semantic versioning and a clear changelog for releases.
This repository includes example CI workflows for running dbt commands and publishing generated docs to artifact storage. See docs/PROJECT_OVERVIEW.md for recommended deployment patterns (Docker, Kubernetes, managed Airflow).




