{"id":14974078,"url":"https://github.com/mhtkarakose/se-222-database-systems-term-project","last_synced_at":"2026-01-27T08:32:55.514Z","repository":{"id":120694998,"uuid":"90544391","full_name":"mhtkarakose/SE-222-Database-Systems-Term-Project","owner":"mhtkarakose","description":"Term Project sql","archived":false,"fork":false,"pushed_at":"2017-05-08T13:41:51.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T06:15:15.370Z","etag":null,"topics":["database","plpgsql","restaurant"],"latest_commit_sha":null,"homepage":null,"language":"PLpgSQL","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/mhtkarakose.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":"2017-05-07T15:58:53.000Z","updated_at":"2020-12-27T18:54:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"22c920d9-cfa1-434e-b428-7fe674e01b34","html_url":"https://github.com/mhtkarakose/SE-222-Database-Systems-Term-Project","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"5243cd7b89fda9031d9e369c2fc0250a3fdcd211"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhtkarakose%2FSE-222-Database-Systems-Term-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhtkarakose%2FSE-222-Database-Systems-Term-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhtkarakose%2FSE-222-Database-Systems-Term-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhtkarakose%2FSE-222-Database-Systems-Term-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhtkarakose","download_url":"https://codeload.github.com/mhtkarakose/SE-222-Database-Systems-Term-Project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240859739,"owners_count":19869206,"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":["database","plpgsql","restaurant"],"created_at":"2024-09-24T13:49:55.359Z","updated_at":"2026-01-27T08:32:55.434Z","avatar_url":"https://github.com/mhtkarakose.png","language":"PLpgSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"Welcome !\n===================\n\n\nHey! This document is my term proejct. Please be sure to inform us of any errors you found in the codes.\n\nProject Aim\n-------\nProject aim is creating affordable online ordering system for small restaurant SMEs.\nProject name is Online Ordering System for Restaurants.\n\n\n----------\n\n\nDocuments\n-------------\n\nConceptual Diagram\n\n![Conceptual Diagram](https://i.hizliresim.com/V0Jv7q.png)\n\nLogical Model\n\n![Logical Model](https://i.hizliresim.com/ZZy7PA.png)\n\n\n#### \u003ci class=\"icon-file\"\u003e\u003c/i\u003e Create a database\n\n    CREATE DATABASE OrderingSystemDb; \n\nThe necessary codes have been added.    \n#### \u003ci class=\"icon-pencil\"\u003e\u003c/i\u003e Procedures\n\n* Customer_ReadAll\nAll customers print on the screen. \nHow does it work?\n\n   \u003ccode\u003e exec Customer_ReadAll; \u003c/code\u003e\n   \n* Customer_ReadById\nWrites the selected customer information to the screen.\nHow does it work?\n\n\t\u003ccode\u003e exec Customer_ReadById [Enter the int DustomerId]; \u003c/code\u003e\n\n* Customer_Add\nAdd customer :)\nHow does it work?\n\n\t\u003ccode\u003e exec Customer_Add(@Id,\n\t\t\t\t\t\t  @Email,\n\t\t\t\t\t\t  @CustomerPass,\n\t\t\t\t\t\t  @Name,\n\t\t\t\t\t\t  @SecondName, \n\t\t\t\t\t\t  @Surname) \u003c/code\u003e\n\n* Customer_Add_Address\nThe address information of the customer is entered in the address table.\nHow does it work?\n\n\t\u003ccode\u003e exec Customer_Add_Address(@Id,\n\t\t\t\t\t\t  @CustomerId,\n\t\t\t\t\t\t  @AddressName,\n\t\t\t\t\t\t  @AddressDescription\n\t\t\t\t\t\t  ) \u003c/code\u003e\n\n* Customer_ReadAll_Address\nAll customer addresses on the screen.\nHow does it work?\n\n\t\u003ccode\u003e exec Customer_ReadAll_Address;\u003c/code\u003e\n\t\n* Customer_ReadById_Address\nThe selected customer addresses are displayed on the screen.\nHow does it work?\n\n\t\u003ccode\u003e exec Customer_ReadById_Address [Enter the int CustomerId];\u003c/code\u003e\n\n* Customer_Bill\nThe invoice belongs to the selected customer.\nHow does it work?\n\n\t\u003ccode\u003e exec Customer_Bill[Enter the int CustomerId];\u003c/code\u003e\n\t\n* Product_Add\nAdding products to the system.\nHow does it work?\n\n\t\u003ccode\u003e exec Product_Add(@ProductId,\n\t\t\t\t\t\t  @CategoryId,\n\t\t\t\t\t\t  @ProductName,\n\t\t\t\t\t\t  @ProductDescription,\n\t\t\t\t\t\t  @ProductPrice,\n\t\t\t\t\t\t  @ProductCalorie,\n\t\t\t\t\t\t  @Stock)\n\t;\u003c/code\u003e\n \n#### \u003ci class=\"icon-pencil\"\u003e\u003c/i\u003e Triggers\n\n* Stock_Takip\n\nStocks for each product ordered are replaced.\n\n* TotalPrice\n\nIt subtracts the total price of the ordered product to the customer bill.\n\n#### \u003ci class=\"icon-pencil\"\u003e\u003c/i\u003e Team\n\nMehmet KARAKOSE,\n\nYağız Ismail GAZIBABA\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhtkarakose%2Fse-222-database-systems-term-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhtkarakose%2Fse-222-database-systems-term-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhtkarakose%2Fse-222-database-systems-term-project/lists"}