{"id":28474064,"url":"https://github.com/datacody/dbt-jaffle-shop","last_synced_at":"2025-08-02T16:05:00.229Z","repository":{"id":293209172,"uuid":"983173835","full_name":"DataCody/dbt-jaffle-shop","owner":"DataCody","description":"A hands-on project built to deepen understanding of dbt modeling, testing, and documentation. Based on the Jaffle Shop dataset, the project showcases best practices in transforming and validating source data for business analytics using the modern data stack.","archived":false,"fork":false,"pushed_at":"2025-05-22T02:17:30.000Z","size":741,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-02T08:43:29.645Z","etag":null,"topics":["analytics","bigquery","data-eng","data-modeling","dbt","etl-pipeline","sql","transformation"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DataCody.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,"zenodo":null}},"created_at":"2025-05-14T01:59:22.000Z","updated_at":"2025-06-09T01:20:05.000Z","dependencies_parsed_at":"2025-05-14T08:35:20.994Z","dependency_job_id":null,"html_url":"https://github.com/DataCody/dbt-jaffle-shop","commit_stats":null,"previous_names":["datacody/dbt-jaffle-shop"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DataCody/dbt-jaffle-shop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataCody%2Fdbt-jaffle-shop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataCody%2Fdbt-jaffle-shop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataCody%2Fdbt-jaffle-shop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataCody%2Fdbt-jaffle-shop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DataCody","download_url":"https://codeload.github.com/DataCody/dbt-jaffle-shop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataCody%2Fdbt-jaffle-shop/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268415881,"owners_count":24246812,"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-08-02T02:00:12.353Z","response_time":74,"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":["analytics","bigquery","data-eng","data-modeling","dbt","etl-pipeline","sql","transformation"],"created_at":"2025-06-07T13:00:46.907Z","updated_at":"2025-08-02T16:05:00.188Z","avatar_url":"https://github.com/DataCody.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## 🥪 dbt-jaffle-shop\n\nA Modern Data Stack Project for End-to-End Analytics Engineering\n\nThis repository is a customized implementation of the [dbt-labs/jaffle-shop](https://github.com/dbt-labs/jaffle-shop) project, tailored to demonstrate proficiency in data modeling, testing, documentation, and orchestration using dbt. It serves as a comprehensive example of building a robust analytics pipeline from raw data ingestion to curated data marts.\n\n## 🚀 Project Overview\n- **Source Data**: Simulated e-commerce datasets representing customers, orders, and payments.\n- **TransformationLayers**:\n- **Staging Models**: Clean and standardize raw data.\n- **Intermediate Models**: Join and enrich data across multiple sources.\n- **Mart Models**: Provide business-ready datasets for analytics and reporting.\n- **Testing**: Implemented data quality tests including unique, not_null, and referential integrity checks.\n- **Documentation**: Auto-generated documentation with detailed model and column descriptions.\n- **Orchestration**: Configured dbt Cloud jobs for scheduled runs and testing.\n\n## 🧰 Tech Stack\n- **dbt Core**: SQL-based data transformation framework.\n- **dbt Cloud**: Hosted environment for development and job orchestration.\n- **Data Warehouse**: BigQuery.\n- **Version Control**: GitHub for source code management.\n- **CI/CD**: [Optional—mention if integrated].\n\n## 🗺️ Project Structure\n\u003cpre\u003e\u003ccode\u003edbt-jaffle-shop/\n├── analyses\n├── docs/\n├── models/\n│   ├── staging/\n│   ├── intermediate/\n│   └── marts/\n├── seeds/\n├── tests/\n├── macros/\n├── snapshots/\n├── dbt_project.yml\n├── LICENSE\n└── README.md\n\u003c/code\u003e\u003c/pre\u003e\n\n\n## 🧪 Testing \u0026 Quality Assurance\n\nImplemented comprehensive testing strategies to ensure data reliability:\n- **Schema Tests**: Enforced constraints like unique and not_null.\n- **Custom Tests**: Developed bespoke tests for business logic validation.\n- **Data Freshness**: Configured freshness checks on source data.\n\n## 📊 Documentation \u0026 Lineage\n- Auto-Generated Docs: Utilized dbt docs generate for creating interactive documentation.\n- Data Lineage: Visualized model dependencies and data flow.\n\n### 📸 Documentation screenshot\n![Lineage Graph](docs/assets/docs.png)\n\n### 📸 DAG visualization\n![Lineage Graph](docs/assets/dag.png)\n\n## 🗓️ Scheduling \u0026 Orchestration\n\nConfigured dbt Cloud jobs with the following characteristics:\n- **Environment**: Production\n- **Schedule**: Daily runs at 9 AM AEST\n- **Commands**:\n- `dbt seed`\n- `dbt run`\n- `dbt test`\n\n## 🧩 Key Features\n- Modular and scalable model architecture.\n- Adherence to dbt best practices and naming conventions.\n- Comprehensive testing and documentation.\n- Automated workflows for continuous integration and deployment.\n\n## 📈 Future Enhancements\n- Integration with BI tools like Looker or Tableau.\n- Implementation of snapshots for slowly changing dimensions.\n- Expansion of test coverage with more complex scenarios.\n\n## 📄 License\n\n\nThis project is licensed under the [MIT License](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatacody%2Fdbt-jaffle-shop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatacody%2Fdbt-jaffle-shop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatacody%2Fdbt-jaffle-shop/lists"}