{"id":21423197,"url":"https://github.com/knands42/Data-Engineering-Bootcamp","last_synced_at":"2025-10-06T18:31:14.707Z","repository":{"id":263679963,"uuid":"891149987","full_name":"knands42/Data-Engineering-Modeling","owner":"knands42","description":"Exploring Data Engineering concepts","archived":false,"fork":false,"pushed_at":"2024-11-20T17:55:46.000Z","size":12393,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T07:11:21.874Z","etag":null,"topics":["data-engineering","docker","docker-compose","makefile","postgresql","slowly-changing-dimensions","sql"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/knands42.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-11-19T20:18:24.000Z","updated_at":"2024-11-20T17:55:50.000Z","dependencies_parsed_at":"2024-11-19T21:41:32.968Z","dependency_job_id":null,"html_url":"https://github.com/knands42/Data-Engineering-Modeling","commit_stats":null,"previous_names":["knands42/data-engineering-modeling"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knands42%2FData-Engineering-Modeling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knands42%2FData-Engineering-Modeling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knands42%2FData-Engineering-Modeling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knands42%2FData-Engineering-Modeling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knands42","download_url":"https://codeload.github.com/knands42/Data-Engineering-Modeling/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235538040,"owners_count":19006078,"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","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":["data-engineering","docker","docker-compose","makefile","postgresql","slowly-changing-dimensions","sql"],"created_at":"2024-11-22T21:14:46.492Z","updated_at":"2025-10-06T18:31:06.950Z","avatar_url":"https://github.com/knands42.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📅 Data Engineering - Modeling\n\nThis repository will\n\n**TL;DR**\n\n1. [Clone the repository](#1️⃣clone-the-repository).\n2. [Start Postgres instance](#2️⃣run-postgres).\n3. [Connect to Postgres](#option-1-run-on-local-machine) using your preferred database management tool.\n\nFor detailed instructions and more information, please refer to the step-by-step instructions below.\n\n## 1️⃣ **Clone the repository**\n\n- Clone the repo using the SSH link. This will create a new folder in the current directory on your local machine.\n\n    ```bash\n    git clone git@github.com:knands42/Data-Engineering-Modeling.git\n    ```\n  \n- Navigate into the cloned repo using the command line:\n\n    ```bash\n    cd Data-Engineering-Modeling\n    ```\n\n## 2️⃣ **Run Postgres**\n\nThere are two methods to get Postgres running locally.\n\n### 💻 **Option 1: Run on local machine**\n\n1. Install Postgres\n    - For Mac: Follow this **[tutorial](https://daily-dev-tips.com/posts/installing-postgresql-on-a-mac-with-homebrew/)** (Homebrew is really nice for installing on Mac)\n    - For Windows: Follow this **[tutorial](https://www.sqlshack.com/how-to-install-postgresql-on-windows/)**\n2. Run this command after replacing **`\u003ccomputer-username\u003e`** with your computer's username:\n\n    ```bash\n    psql -U \u003ccomputer-username\u003e postgres \u003c data.dump\n    ```\n\n3. Set up DataGrip, DBeaver, or your VS Code extension to point at your locally running Postgres instance.\n4. Have fun querying!\n\n### 🐳 **Option 2: Run Postgres in Docker**\n\n- Install Docker Desktop from **[here](https://www.docker.com/products/docker-desktop/)**.\n- Copy **`example.env`** to **`.env`**:\n\n    ```bash\n    cp example.env .env\n    ```\n\n- Start the Docker Compose container:\n  - If you're on Mac:\n\n        ```bash\n        make up\n        ```\n\n- A folder named **`postgres-data`** will be created in the root of the repo. The data backing your Postgres instance will be saved here.\n- You can check that your Docker Compose stack is running by either:\n  - Going into Docker Desktop: you should see an entry there with a drop-down for each of the containers running in your Docker Compose stack.\n  - Running **`docker ps -a`** and looking for the containers with the name **`postgres`**.\n- When you're finished with your Postgres instance, you can stop the Docker Compose containers with:\n\n    ```bash\n    make down\n    ```\n\n#### 💡 Additional Docker Make commands\n\n- To restart the Postgres instance, you can run **`make restart`**.\n- To see logs from the Postgres container, run **`make logs`**.\n\n## Credits\n\nThis project was created to follow the lessons and solve exercises from [Data with Zach](https://www.youtube.com/@EcZachly_) bootcamp on YouTube.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknands42%2FData-Engineering-Bootcamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknands42%2FData-Engineering-Bootcamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknands42%2FData-Engineering-Bootcamp/lists"}