{"id":50886344,"url":"https://github.com/shahidmalik4/data-platform-forge","last_synced_at":"2026-06-15T17:30:30.264Z","repository":{"id":359756638,"uuid":"1242436964","full_name":"shahidmalik4/data-platform-forge","owner":"shahidmalik4","description":"A production-style local data platform built with modern data engineering tools. This project simulates a real-world ELT pipeline — from raw data ingestion through transformation and orchestration — using the same stack used in professional data engineering teams.","archived":false,"fork":false,"pushed_at":"2026-06-13T12:48:25.000Z","size":311,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-13T14:25:32.931Z","etag":null,"topics":["dagster","dbt","dlt","postgresql","testing","uv"],"latest_commit_sha":null,"homepage":"","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/shahidmalik4.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-18T12:30:25.000Z","updated_at":"2026-06-13T12:49:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/shahidmalik4/data-platform-forge","commit_stats":null,"previous_names":["shahidmalik4/data-platform-forge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shahidmalik4/data-platform-forge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahidmalik4%2Fdata-platform-forge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahidmalik4%2Fdata-platform-forge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahidmalik4%2Fdata-platform-forge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahidmalik4%2Fdata-platform-forge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shahidmalik4","download_url":"https://codeload.github.com/shahidmalik4/data-platform-forge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahidmalik4%2Fdata-platform-forge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34374144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"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":["dagster","dbt","dlt","postgresql","testing","uv"],"created_at":"2026-06-15T17:30:29.367Z","updated_at":"2026-06-15T17:30:30.257Z","avatar_url":"https://github.com/shahidmalik4.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data Platform Forge\r\n\r\nA production-style local data platform built with modern data engineering tools. This project simulates a real-world ELT pipeline, from raw data ingestion through transformation and orchestration, using the same stack used in professional data engineering teams.\r\n\r\n---\r\n\r\n## Architecture\r\n\r\n```\r\nRaw Data\r\n   │\r\n   ▼\r\n[dlt] ──────────── Ingestion (Python-based ELT pipelines)\r\n   │\r\n   ▼\r\n[PostgreSQL] ────── Local Data Warehouse (Docker)\r\n   │\r\n   ▼\r\n[dbt] ──────────── Transformations (Staging → Marts)\r\n   │\r\n   ▼\r\n[Dagster] ─────── Orchestration \u0026 Asset Lineage\r\n```\r\n\r\n---\r\n\r\n## Tech Stack\r\n\r\n| Layer           | Tool                          |\r\n|-----------------|-------------------------------|\r\n| Ingestion       | dlt (data load tool)          |\r\n| Warehouse       | PostgreSQL 16 (via Docker)    |\r\n| Transformation  | dbt (dbt-postgres)            |\r\n| Orchestration   | Dagster + dagster-dbt         |\r\n| Dependency Mgmt | uv                            |\r\n| SQL Linting     | SQLFluff                      |\r\n| Testing         | pytest                        |\r\n\r\n---\r\n\r\n## Project Structure\r\n\r\n```\r\ndata-platform-forge/\r\n├── .dlt/                        # dlt pipeline configuration\r\n├── dbt/\r\n│   └── dbt_project/             # dbt models (staging, marts)\r\n├── scripts/\r\n│   └── init-warehouse.sql       # PostgreSQL schema initialization\r\n├── src/\r\n│   └── data_platform/\r\n│       └── orchestrator/        # Dagster definitions and assets\r\n├── tests/\r\n│   └── orchestrator/            # pytest test suite\r\n├── docker-compose.yml           # PostgreSQL warehouse container\r\n├── pyproject.toml               # Project dependencies (uv)\r\n├── Makefile                     # Common dev commands\r\n├── .sqlfluff                    # SQL linting config\r\n└── .env                         # Environment variables (not committed)\r\n```\r\n\r\n---\r\n\r\n## Getting Started\r\n\r\n### Prerequisites\r\n\r\n- [Docker](https://docs.docker.com/get-docker/) and Docker Compose\r\n- [uv](https://docs.astral.sh/uv/getting-started/installation/) (Python package manager)\r\n- Python 3.10+\r\n\r\n### 1. Clone the repository\r\n\r\n```bash\r\ngit clone https://github.com/shahidmalik4/data-platform-forge.git\r\ncd data-platform-forge\r\n```\r\n\r\n### 2. Configure environment variables\r\n\r\nCopy the example and fill in your values:\r\n\r\n```bash\r\ncp .env.example .env\r\n```\r\n\r\nRequired variables:\r\n\r\n```env\r\nPOSTGRES_USER=your_user\r\nPOSTGRES_PASSWORD=your_password\r\nPOSTGRES_DB=your_db\r\nPOSTGRES_PORT=5432\r\n```\r\n\r\n### 3. Install dependencies\r\n\r\n```bash\r\nmake init\r\n```\r\n\r\n### 4. Start the PostgreSQL warehouse\r\n\r\n```bash\r\ndocker compose up -d\r\n```\r\n\r\nThis spins up a PostgreSQL 16 container and runs `scripts/init-warehouse.sql` to initialize the schema.\r\n\r\n### 5. Run the ingestion pipeline\r\n\r\n```bash\r\nmake run-dlt\r\n```\r\n\r\nLoads raw data into the warehouse using dlt pipelines.\r\n\r\n### 6. Run dbt transformations\r\n\r\n```bash\r\nmake dbt-run\r\n```\r\n\r\nTransforms raw data through staging and mart layers.\r\n\r\n### 7. Run dbt tests\r\n\r\n```bash\r\nmake dbt-test\r\n```\r\n\r\n### 8. Launch the Dagster UI\r\n\r\n```bash\r\nmake dagster\r\n```\r\n\r\nVisit `http://localhost:3000` to view asset lineage, run pipelines, and monitor jobs.\r\n\r\n---\r\n\r\n## Available Make Commands\r\n\r\n| Command        | Description                              |\r\n|----------------|------------------------------------------|\r\n| `make init`    | Install dependencies and sync uv         |\r\n| `make dagster` | Start Dagster dev server                 |\r\n| `make run-dlt` | Run dlt ingestion pipelines              |\r\n| `make dbt-run` | Run dbt models                           |\r\n| `make dbt-test`| Run dbt data quality tests               |\r\n| `make lint`    | Run ruff and black linters               |\r\n| `make format`  | Auto-format code with black              |\r\n| `make clean`   | Remove temp files and dbt artifacts      |\r\n\r\n---\r\n\r\n## SQL Linting\r\n\r\nThis project uses [SQLFluff](https://docs.sqlfluff.com/) with the dbt templater to enforce consistent SQL style across all models.\r\n\r\n```bash\r\nuv run sqlfluff lint dbt/dbt_project\r\n```\r\n\r\n---\r\n\r\n## Running Tests\r\n\r\n```bash\r\nuv run pytest\r\n```\r\n\r\nTests live in `tests/orchestrator/` and cover Dagster asset definitions.\r\n\r\n---\r\n\r\n## Author\r\n\r\n**Shahid Malik**\r\n[LinkedIn](https://www.linkedin.com/in/shahidmalik4/) · [GitHub](https://github.com/shahidmalik4)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshahidmalik4%2Fdata-platform-forge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshahidmalik4%2Fdata-platform-forge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshahidmalik4%2Fdata-platform-forge/lists"}