{"id":28449893,"url":"https://github.com/Mohammed-3tef/Kheir_Market","last_synced_at":"2025-07-01T12:32:37.310Z","repository":{"id":294706232,"uuid":"971503427","full_name":"Mohammed-3tef/Kheir_Market","owner":"Mohammed-3tef","description":"This project presents the design and implementation of a relational database system for an online supermarket platform, modeled after real-world systems such as Carrefour Egypt. The system is intended to manage product inventories, handle customer data, and support online purchasing processes.","archived":false,"fork":false,"pushed_at":"2025-06-17T07:32:24.000Z","size":20723,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T08:32:22.606Z","etag":null,"topics":["assignment","c-sharp","clean-code","database","erd","fcai-cu","is211","mssqlserver","oop","super-market-management"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mohammed-3tef.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}},"created_at":"2025-04-23T16:09:05.000Z","updated_at":"2025-06-17T07:32:27.000Z","dependencies_parsed_at":"2025-06-08T14:35:27.564Z","dependency_job_id":null,"html_url":"https://github.com/Mohammed-3tef/Kheir_Market","commit_stats":null,"previous_names":["mohammed-3tef/super_market_management_system","mohammed-3tef/kheir_market"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mohammed-3tef/Kheir_Market","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohammed-3tef%2FKheir_Market","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohammed-3tef%2FKheir_Market/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohammed-3tef%2FKheir_Market/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohammed-3tef%2FKheir_Market/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mohammed-3tef","download_url":"https://codeload.github.com/Mohammed-3tef/Kheir_Market/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohammed-3tef%2FKheir_Market/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262963257,"owners_count":23391783,"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":["assignment","c-sharp","clean-code","database","erd","fcai-cu","is211","mssqlserver","oop","super-market-management"],"created_at":"2025-06-06T14:30:56.877Z","updated_at":"2025-07-01T12:32:37.301Z","avatar_url":"https://github.com/Mohammed-3tef.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kheir Market\n  \n\u003cdiv \u003e \n  \u003ca href=\"https://deepwiki.com/Mohammed-3tef/Super_Market_Management_System\"\u003e \n    \u003cimg src=\"https://deepwiki.com/badge.svg\" alt=\"Ask DeepWiki\"\u003e \n  \u003c/a\u003e \n  \n  ![GitHub repo size](https://img.shields.io/github/repo-size/Mohammed-3tef/Kheir_Market) ![GitHub Release](https://img.shields.io/github/v/release/Mohammed-3tef/Kheir_Market) ![GitHub License](https://img.shields.io/github/license/Mohammed-3tef/Kheir_Market)\n\u003c/div\u003e\n\n\n## Overview\n\nThis project presents the design and implementation of a relational database system for an online supermarket platform, modeled after real-world systems such as [Carrefour Egypt](https://www.carrefouregypt.com). The system is intended to manage product inventories, handle customer data, and support online purchasing processes.\n\n![Log In Page](./Kheir_Market/assets/preview.png)\n\n## Objectives\n\nThe primary objectives of this project are to:\n\n- Design a comprehensive Entity Relationship Diagram (ERD) that captures all necessary entities and their relationships.\n- Convert the ERD into a physical database schema using Data Definition Language (DDL) scripts.\n- Provide structured queries that address typical business inquiries relevant to supermarket operations.\n\n## System Features\n\n### Customer Management\n- Register new customers (by administrator or customer)\n- Update customer information (by administrator or customer)\n- Remove customer accounts (by administrator or customer)\n\n### Product Management (Administrator Only)\n- Add new products\n- Update product details\n- Remove products from the inventory\n\n### Product Interaction\n- Browse available products (by administrator or customers)\n- Display a list of all available products\n- Identify products requiring restocking (based on quantity threshold)\n\n### Promotions\n- Generate a list of frequent customers eligible for discount vouchers\n\n## Deliverables\n\n### 1. Entity Relationship Diagram (ERD)\nA detailed ERD is included to model the necessary entities such as `Customers`, `Products`, `Orders`, and their relationships.\n\n### 2. Physical Data Model (DDL Scripts)\nThe database schema is created using SQL DDL statements, defining tables, constraints, and data types.\n\n### 3. Sample Business Inquiries (with SQL Queries)\n1. **Most frequently purchased product**\n2. **Products not purchased during a specific month**\n3. **Customers with no purchases in the past year**\n4. **Customer with the highest purchase volume this month**\n5. **Sales comparison between electric appliances and food products**\n6. **Product information along with number of unique buyers**\n\n## Technologies Used\n\n- **Database Management System**: MS SQL Server\n- **Design Tools**: dbdiagram.io, MySQL Workbench, or pgAdmin (for ERD and schema visualization)\n- **Languages**: SQL (DDL and DML)\n\n## Contributing\n\nContributions are welcome! Feel free to fork the repo and submit a pull request.\n\n## Authors\n\n- Mariam Badr Yehia: [GitHub](https://github.com/Mariam-Badr-MB) - [LinkedIn](https://www.linkedin.com/in/mariambadr13/)\n- George Malak Magdy: [GitHub](https://github.com/GeorgeMalakM) - [LinkedIn](https://www.linkedin.com/in/george-malak204/)\n- John Ayman Demian: [GitHub](https://github.com/Johnayman1) - [LinkedIn](https://www.linkedin.com/in/john-ayman-aa30842b7/)\n- Mohammed Atef Abd El-Kader: [GitHub](https://github.com/Mohammed-3tef) - [LinkedIn](https://www.linkedin.com/in/mohammed-atef-b0a408299/)\n- Marawan Mohammed Badr: [GitHub](https://github.com/M-Marawan) - [LinkedIn](https://www.linkedin.com/in/marawan-mohamed-7244692a4/)\n\n## License\n\nThis project is licensed under the MPL License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMohammed-3tef%2FKheir_Market","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMohammed-3tef%2FKheir_Market","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMohammed-3tef%2FKheir_Market/lists"}