{"id":25230051,"url":"https://github.com/vicen-te/tamagotchi-http-protocol-and-database-system","last_synced_at":"2026-04-22T05:32:00.366Z","repository":{"id":192916179,"uuid":"582801018","full_name":"Vicen-te/tamagotchi-http-protocol-and-database-system","owner":"Vicen-te","description":"This is an assignment done for the University and it is also my first project with Python.","archived":false,"fork":false,"pushed_at":"2023-09-07T00:02:32.000Z","size":390,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T16:37:30.927Z","etag":null,"topics":["database-system","http-protocol","mysql-database","python"],"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/Vicen-te.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":"2022-12-27T22:49:13.000Z","updated_at":"2023-09-14T00:40:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"b67e9916-d13e-4fe3-bdb6-18545f3bdac8","html_url":"https://github.com/Vicen-te/tamagotchi-http-protocol-and-database-system","commit_stats":null,"previous_names":["vicen-te/tamagotchi-http-protocol-and-database-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vicen-te/tamagotchi-http-protocol-and-database-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vicen-te%2Ftamagotchi-http-protocol-and-database-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vicen-te%2Ftamagotchi-http-protocol-and-database-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vicen-te%2Ftamagotchi-http-protocol-and-database-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vicen-te%2Ftamagotchi-http-protocol-and-database-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vicen-te","download_url":"https://codeload.github.com/Vicen-te/tamagotchi-http-protocol-and-database-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vicen-te%2Ftamagotchi-http-protocol-and-database-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32122713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"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":["database-system","http-protocol","mysql-database","python"],"created_at":"2025-02-11T11:54:25.269Z","updated_at":"2026-04-22T05:32:00.361Z","avatar_url":"https://github.com/Vicen-te.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tamagotchi - HTTP Protocol and Database System\nThis is an assignment done for the University and it is also my first project with Python.\n\n## About this project\nI use a local html web service and a local service for the database. \nAll PDU requests have PDU responses that tell you in the Python runtime console whether or not the information is correct, and if not, why. Also, this information will be stored in a txt file called log.txt. \nIn the HTML file there will only be a message that says ok or nok (not ok), it is the json of the PDU response.\n\n# Running App\n### Running Back-end\n- Open Tamagotchi folder as project in PyCharm if possible\n- Set interperter.\n- Install the `mysql`, `mysql-connector-python` and `requests` packages in the interpreter.\n- Run the proyect.\n### Running Database\n- Run the remote MySQL Server on workbench or XAMPP.\n\n# Web Photos and PDU responses\n![Alt text](/images/web.png?raw=true \"Tamagotchi web page\")\n![Alt text](/images/database.png?raw=true \"PhpMyAdmin, MySQL database - Items records\")\n![Alt text](/images/user.png?raw=true \"User ID record\")\n![Alt text](/images/PDU-response.png?raw=true \"Purchase Request PDU\")\n![Alt text](/images/PDU-response2.png?raw=true \"User identification PDU\")\n![Alt text](/images/log.png?raw=true \"PDU records\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvicen-te%2Ftamagotchi-http-protocol-and-database-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvicen-te%2Ftamagotchi-http-protocol-and-database-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvicen-te%2Ftamagotchi-http-protocol-and-database-system/lists"}