{"id":32485294,"url":"https://github.com/chathumiamarasinghe/dwh-project","last_synced_at":"2026-02-25T05:40:25.255Z","repository":{"id":319842511,"uuid":"1079797262","full_name":"chathumiamarasinghe/dwh-project","owner":"chathumiamarasinghe","description":"Building a data warehouse project - sqlserver-v1 ← SQL Server Implementation \u0026 snowflake - v2 ← Snowflake Implementation","archived":false,"fork":false,"pushed_at":"2025-11-28T16:56:38.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-30T21:54:50.275Z","etag":null,"topics":["airflow","airflow-on-docker","bronze-silver-gold","docker-compose","medallion-architecture","snowflake","sql-server","wsl2"],"latest_commit_sha":null,"homepage":"","language":"TSQL","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/chathumiamarasinghe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-20T12:01:37.000Z","updated_at":"2025-11-29T11:16:11.000Z","dependencies_parsed_at":"2025-10-20T14:09:49.064Z","dependency_job_id":"0ee85f1d-23bd-48cb-bbb1-cdceeda7ec6b","html_url":"https://github.com/chathumiamarasinghe/dwh-project","commit_stats":null,"previous_names":["chathumiamarasinghe/dwh-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chathumiamarasinghe/dwh-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chathumiamarasinghe%2Fdwh-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chathumiamarasinghe%2Fdwh-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chathumiamarasinghe%2Fdwh-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chathumiamarasinghe%2Fdwh-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chathumiamarasinghe","download_url":"https://codeload.github.com/chathumiamarasinghe/dwh-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chathumiamarasinghe%2Fdwh-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29811591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T05:36:42.804Z","status":"ssl_error","status_checked_at":"2026-02-25T05:36:31.934Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","airflow-on-docker","bronze-silver-gold","docker-compose","medallion-architecture","snowflake","sql-server","wsl2"],"created_at":"2025-10-27T04:25:36.961Z","updated_at":"2026-02-25T05:40:25.250Z","avatar_url":"https://github.com/chathumiamarasinghe.png","language":"TSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📦 Data Warehouse Project\n\nThis repository contains two versions of a data warehouse implementation for a fictional business use case.  \nBoth follow the same business logic and data model, but use different platforms.\n\n---\n\n## 🚀 Available Versions\n\n| Version | Technology Stack | Branch Name | Status |\n|--------|------------------|-------------|--------|\n| **v1** | SQL Server + SSIS | `sqlserver_v1` | ✔ Completed |\n| **v2** | Snowflake + Tasks + Stored Procedures | `snowflake_v2` | ✔ Completed |\n\n---\n\n## 🏗️ Architecture\n\nBoth implementations are built using a **Medallion Architecture**:\n\nBronze → Silver → Gold\n\n\n| Layer | Description |\n|-------|------------|\n| **Bronze** | Raw data ingestion (no transformations) |\n| **Silver** | Cleaned, validated, standardized data |\n| **Gold** | Business-ready tables, facts, dimensions |\n\n---\n## 🧱 Architecture Overview\n\nBoth implementations follow the Medallion Architecture pattern:\n\n    ┌──────────────┐\n    │   Bronze     │  (Raw Data)\n    └───────┬──────┘\n            │\n            ▼\n    ┌──────────────┐\n    │   Silver     │  (Cleaned + Standardized)\n    └───────┬──────┘\n            │\n            ▼\n    ┌──────────────┐\n    │    Gold      │ (Analytics Models: Facts + Dimensions)\n    └──────────────┘\n    \n## 📂 Repository Structure\n\n\n\n📁 dwh-project\n\n ├── README.md\n \n ├── sqlserver_v1/        ← SQL Server Implementation\n \n └── snowflake_v2/        ← Snowflake Implementation\n\n\n\n---\n\n## 🔧 How to Work with the Repo\n\n### Clone the repository:\n\n```sh\ngit clone https://github.com/chathumiamarasinghe/dwh-project.git\n\nSwitch to a version:\ngit checkout sqlserver_v1\n\n```\n\nor\n```\ngit checkout snowflake_v2\n\n```\n\n## 🧪 Data Sources Used\n\n1. CRM system (Customer details)\n\n2. Sales dataset\n\n3. Product master data\n\n## ▶️ Running the Pipeline\n\n1️⃣ Start Airflow\n```sql\n docker compose up -d\n```\n2️⃣ Confirm DAGs are detected\n```sql\nairflow dags list\n```\n\nExpected:\n\nbronze_layer_load\n\nsilver_layer_load\n\ngold_layer_load\n\nfull_etl_pipeline\n\n3️⃣ Trigger Pipeline Manually\n```sql\nairflow dags trigger full_etl_pipeline\n```\n\u003cimg width=\"1894\" height=\"979\" alt=\"image\" src=\"https://github.com/user-attachments/assets/297934e9-1df1-48b3-83df-ef45725d46da\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchathumiamarasinghe%2Fdwh-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchathumiamarasinghe%2Fdwh-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchathumiamarasinghe%2Fdwh-project/lists"}