{"id":26668303,"url":"https://github.com/decimoseptimo/huizar-pos","last_synced_at":"2025-07-04T23:04:29.482Z","repository":{"id":200147895,"uuid":"65410360","full_name":"decimoseptimo/huizar-pos","owner":"decimoseptimo","description":"A web GUI with a RESTful API where data can be fed to. Made with Yii2.","archived":false,"fork":false,"pushed_at":"2018-03-18T00:36:50.000Z","size":187,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-10-15T23:26:32.095Z","etag":null,"topics":["gui","php","pos","restful","web-application"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/decimoseptimo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-08-10T19:26:19.000Z","updated_at":"2023-10-15T23:26:36.605Z","dependencies_parsed_at":null,"dependency_job_id":"0eb059ab-da8b-4ab6-9585-0c2f9888c126","html_url":"https://github.com/decimoseptimo/huizar-pos","commit_stats":null,"previous_names":["decimoseptimo/huizar-pos"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decimoseptimo%2Fhuizar-pos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decimoseptimo%2Fhuizar-pos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decimoseptimo%2Fhuizar-pos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decimoseptimo%2Fhuizar-pos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/decimoseptimo","download_url":"https://codeload.github.com/decimoseptimo/huizar-pos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245542124,"owners_count":20632434,"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":["gui","php","pos","restful","web-application"],"created_at":"2025-03-25T20:41:34.452Z","updated_at":"2025-03-25T20:41:35.056Z","avatar_url":"https://github.com/decimoseptimo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Huizar-POS\n\nA web GUI with a RESTful API where data can be fed to.\n\nIt has two main entry points: `/web` the GUI and `/api` the RESTful server .\n\n## Demo\nhttp://www.azulacero.mx/huizar-pos/\n\n## Requirements\n* Yii 2.x (PHP 5.4.0)\n* MySQL\n* Composer\n\n## Instructions\n* Deploy to server and instruct composer to install dependencies\n* Setup /config/db.php with your DB credentials\n* Setup /config/params.php with your ESP credentials\n\nEither:\n* Run migrations in /migrations folder\n* Or import /sample.sql (e.g. `mysql -u MYSQL_USER -p DB_NAME \u003c PATH_TO_SAMPLE.SQL`)\n\n## TODO\n- [x] Implement migrations\n- [x] Add RESTful API for managing customers and orders\n- [x] Implement ESP APIs to send email\n- [x] Design HTML template(s)\n- [x] Add access control\n- [ ] Integrate order search to website\n\n## API\n##### Customers\n* POST /api/v1/customers\n* PUT/PATCH /api/v1/customers/{id}\n* DELETE /api/v1/customers/{id}\n\n_Model_\n```js\nCustomers {\n    id (integer, unique),\n    first_name (string),\n    last_name (string),\n    email (string, unique),\n}\n```\n\n##### Orders\n* POST /api/v1/orders\n* PUT/PATCH /api/v1/orders/{id}\n* DELETE /api/v1/orders/{id}\n\n_Model_\n```js\nOrders {\n    id (integer, unique),\n    status (string, accepted-values=('recibido' | 'finalizado' | 'entregado'), case-sensitive),\n    customer_id (integer, referenced 'Customer' must have been submitted),\n}\n```\n\nBulk submission is not supported at any API endpoint.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecimoseptimo%2Fhuizar-pos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdecimoseptimo%2Fhuizar-pos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecimoseptimo%2Fhuizar-pos/lists"}