{"id":23125004,"url":"https://github.com/zolppy/pet-shop","last_synced_at":"2025-10-10T12:38:32.020Z","repository":{"id":257760398,"uuid":"859024649","full_name":"zolppy/pet-shop","owner":"zolppy","description":"Pet Shop online, construído com PHP e MySQL, para a disciplina de Desenvolvimento Web do curso de Computação do IFBA.","archived":false,"fork":false,"pushed_at":"2024-09-30T05:32:27.000Z","size":2823,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T05:09:53.267Z","etag":null,"topics":["pet","pet-shop","pets","shop"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zolppy.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}},"created_at":"2024-09-18T00:16:32.000Z","updated_at":"2024-11-25T13:49:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3ead7e1-2e60-4654-b048-c50afc03e0a6","html_url":"https://github.com/zolppy/pet-shop","commit_stats":null,"previous_names":["zolppy/pet-shop"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zolppy/pet-shop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zolppy%2Fpet-shop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zolppy%2Fpet-shop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zolppy%2Fpet-shop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zolppy%2Fpet-shop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zolppy","download_url":"https://codeload.github.com/zolppy/pet-shop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zolppy%2Fpet-shop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003895,"owners_count":26083641,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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":["pet","pet-shop","pets","shop"],"created_at":"2024-12-17T08:12:13.114Z","updated_at":"2025-10-10T12:38:31.976Z","avatar_url":"https://github.com/zolppy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003ePet Shop\u003c/h1\u003e\n  \u003cdiv\u003e\n    \u003cimg src=\"http://img.shields.io/static/v1?label=PHP\u0026message=8.3\u0026color=purple\u0026style=for-the-badge\u0026logo=php\"/\u003e\n    \u003cimg src=\"http://img.shields.io/static/v1?label=JavaScript\u0026message=ES6\u0026color=yellow\u0026style=for-the-badge\u0026logo=javascript\"/\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?label=MySQL\u0026message=8\u0026color=darkblue\u0026style=for-the-badge\u0026logo=MySQL\"/\u003e\n    \u003cimg src=\"http://img.shields.io/static/v1?label=Tailwind\u0026message=3.4.13\u0026color=blue\u0026style=for-the-badge\u0026logo=tailwindcss\"/\u003e\n    \u003cimg src=\"http://img.shields.io/static/v1?label=Status\u0026message=Finished\u0026color=GREEN\u0026style=for-the-badge\"/\u003e\n  \u003c/div\u003e\u003cbr\u003e\n\n  A simple pet shop web application.\n\u003c/div\u003e\n\n\n## Table of Contents\n\n:small_blue_diamond: [What The Application Can Do](#what-the-application-can-do)\n\n:small_blue_diamond: [Dependencies](#dependencies)\n\n:small_blue_diamond: [How to Run the Application](#how-to-run-the-application)\n\n:small_blue_diamond: [Entity-relationship Diagram](#entity-relationship-diagram)\n\n\n## What the Application Can Do\n\n:heavy_check_mark: List, create, edit, and delete products;\n\n:heavy_check_mark: List, create, edit, and delete categories;\n\n:heavy_check_mark: Show contact us page with contact form;\n\n:heavy_check_mark: Show about page with developers info;\n\n:heavy_check_mark: Show a home page with the differentials of our pet shop.\n\n## Dependencies\n\nThis application was made to run with [**Docker**](https://www.docker.com/), and the how to run instructions is written to be used with it, so just use Docker, because everything you need will be installed on the containers. But if you want to run this project without Docker anyway, you can use a [**WampServer**](https://www.wampserver.com/) or similar:\n\n:warning: [PHP 8.3](https://www.php.net/)\n\n:warning: [MySQL 8](https://www.mysql.com/)\n\n:warning: [Apache](https://www.apache.org/)\n\n:warning: [Libpq-dev 17](https://packages.debian.org/pt-br/sid/libpq-dev)\n\n:warning: [PDO MySQL](https://pecl.php.net/package/PDO_MYSQL)\n\n## How to Run the Application\n\nAfter configuring Docker, clone this repository:\n\n```\ngit clone https://github.com/ruliancruz/calendario-simples.git\n```\n\nAfter that, all you need to do to run the application is starting Docker containers:\n\n```\ndocker compose up --build\n```\n\nIt will start test container too, if want only the main application, run it instead:\n\n```\ndocker compose up --build app\n```\n\nNow you can access the application through http://localhost:8000/ route.\n\n### How to Set Up the Database\n\nThe database container will start without a database created, so you will need to run scripts to create and migrate it.\n\nFirst, with the application container running, run a bash on it:\n\n```\ndocker exec -it app bash\n```\n\nAfter that, run the reset script inside the container:\n\n```\nphp database/scripts/reset.php\n```\n\nYou can instead recreate database or run migrations separately if you want.\n\nTo recrate run:\n\n```\nphp database/scripts/recreate.php\n```\n\nTo migrate run:\n\n```\nphp database/scripts/migrate.php\n```\n\n## Entity-relationship Diagram\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/e4a1cbf9-206e-455f-8463-e946ab6caa7f\" alt=\"Entity-relationship diagram\"\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzolppy%2Fpet-shop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzolppy%2Fpet-shop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzolppy%2Fpet-shop/lists"}