{"id":32617787,"url":"https://github.com/alefmach/virtual_shopping","last_synced_at":"2026-06-17T21:03:28.666Z","repository":{"id":216558803,"uuid":"739770626","full_name":"AlefMach/virtual_shopping","owner":"AlefMach","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-22T10:17:56.000Z","size":302,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T17:27:19.336Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/AlefMach.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-01-06T13:50:08.000Z","updated_at":"2024-01-10T20:35:08.000Z","dependencies_parsed_at":"2025-10-30T17:27:32.610Z","dependency_job_id":null,"html_url":"https://github.com/AlefMach/virtual_shopping","commit_stats":null,"previous_names":["alefmach/virtual_shopping"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlefMach/virtual_shopping","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlefMach%2Fvirtual_shopping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlefMach%2Fvirtual_shopping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlefMach%2Fvirtual_shopping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlefMach%2Fvirtual_shopping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlefMach","download_url":"https://codeload.github.com/AlefMach/virtual_shopping/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlefMach%2Fvirtual_shopping/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283088978,"owners_count":26777363,"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-11-06T02:00:06.180Z","response_time":55,"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":[],"created_at":"2025-10-30T17:10:45.854Z","updated_at":"2025-11-06T22:04:00.562Z","avatar_url":"https://github.com/AlefMach.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Virtual Shopping System\n\n## Overview\n\nThe Virtual Shopping System is a web application developed in PHP that provides a simple platform for managing product information, product types, and sales transactions. The system follows the Model-View-Controller (MVC) architecture and utilizes PHP 7.4+, PostgreSQL as the database, and Docker for containerization.\n\n## Features\n\n- **Product Management:** Add, view, and edit product details including name, type, price, and image.\n- **Product Type:** Manage different types of products with corresponding tax rates.\n- **Sales:** Record sales transactions, including product quantity, total price, and total tax.\n- **User Interface:** User-friendly interface for product and sales management.\n- **Data Persistence:** Data is stored in a PostgreSQL database, providing durability and reliability.\n\n## Requirements\n\n- PHP 7.4 or higher\n- PostgreSQL\n- Docker\n\n## Project Structure\n\nThe project follows the MVC design pattern:\n\n- **`sql`**: Contains the inital migrate.\n- **`src`**: Contains the core application files.\n  - **`assets`**: Publicly accessible files, including CSS styles, javascript and images.\n  - **`config`**: Configuration files, including database setup.\n  - **`domain`**: The business logic.\n  - **`http`**: Handles user inputs and updates the model.\n  - **`models`**: Represents the application data.\n  - **`tests`**: Unit test logic.\n  - **`views`**: Displays the data to the user and handles user interface logic.\n- **`Dockerfile`**\n- **`docker-compose.yml`**\n\n## Installation\n\n1. Clone the repository.\n2. Set up the Docker environment using the provided `Dockerfile` and `docker-compose.yml`.\n3. Copy .env-sample to .env file\n4. Configure the PostgreSQL database in the `.env` file.\n5. Run the Docker containers.\n6. Install make file running `make deps` ou install manualy dependeces to project with docker (use the Makefile with reference).\n\n## Usage\n\n1. Access the application through the defined routes, e.g., `http://localhost:8080/`.\n2. Navigate through the product and sales management interfaces.\n3. Add, edit, and view products and product types.\n4. Record sales transactions and view relevant information.\n\n## Contributions\n\nContributions are welcome! Feel free to fork the repository, make changes, and submit a pull request.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falefmach%2Fvirtual_shopping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falefmach%2Fvirtual_shopping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falefmach%2Fvirtual_shopping/lists"}