{"id":18780622,"url":"https://github.com/simplicitesoftware/module-pizzeria","last_synced_at":"2025-08-22T00:06:54.256Z","repository":{"id":80897193,"uuid":"110860034","full_name":"simplicitesoftware/module-pizzeria","owner":"simplicitesoftware","description":"Pizzeria sample module for Simplicité","archived":false,"fork":false,"pushed_at":"2023-04-19T15:11:45.000Z","size":2736,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-21T06:38:52.546Z","etag":null,"topics":["low-code","pizzeria","simplicite"],"latest_commit_sha":null,"homepage":"https://www.simplicite.io","language":"JavaScript","has_issues":false,"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/simplicitesoftware.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-11-15T16:43:47.000Z","updated_at":"2021-10-01T16:14:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"179d2d8c-7586-4e70-bc00-8847485b8a97","html_url":"https://github.com/simplicitesoftware/module-pizzeria","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simplicitesoftware/module-pizzeria","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fmodule-pizzeria","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fmodule-pizzeria/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fmodule-pizzeria/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fmodule-pizzeria/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplicitesoftware","download_url":"https://codeload.github.com/simplicitesoftware/module-pizzeria/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplicitesoftware%2Fmodule-pizzeria/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271565325,"owners_count":24781732,"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-08-21T02:00:08.990Z","response_time":74,"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":["low-code","pizzeria","simplicite"],"created_at":"2024-11-07T20:27:23.903Z","updated_at":"2025-08-22T00:06:54.203Z","avatar_url":"https://github.com/simplicitesoftware.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n ___ _            _ _    _ _    __\n/ __(_)_ __  _ __| (_)__(_) |_ /_/\n\\__ \\ | '  \\| '_ \\ | / _| |  _/ -_)\n|___/_|_|_|_| .__/_|_\\__|_|\\__\\___|\n            |_| \n--\u003e\n![](https://docs.simplicite.io//logos/logo250.png)\n* * *\n\n`Pizzeria` module definition\n============================\n\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=simplicite-modules-Pizzeria\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=simplicite-modules-Pizzeria)\n\n### Introduction\n\nThis is a sample **Pizzeria** application (backend and frontend).\n\n### Import\n\nTo import this module:\n\n- Create a module named `Pizzeria`\n- Set the settings as:\n\n```json\n{\n\t\"type\": \"git\",\n\t\"origin\": {\n\t\t\"uri\": \"https://github.com/simplicitesoftware/module-pizzeria.git\"\n\t}\n}\n```\n\n- Click on the _Import module_ button\n\n### Configure\n\nIn order to have the frontend working the password for the\nwebservices-only user `pizzeria` must be `simplicite`.\n\nThis can be acheived by importing the following XML:\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003csimplicite xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.simplicite.fr/base\" xsi:schemaLocation=\"http://www.simplicite.fr/base https://www.simplicite.io/resources/schemas/base.xsd\"\u003e\n\u003cobject\u003e\n\t\u003cname\u003eUserPwd\u003c/name\u003e\n\t\u003caction\u003eupdate\u003c/action\u003e\n\t\u003cdata\u003e\n\t\t\u003cusr_login_read\u003epizzeria\u003c/usr_login_read\u003e\n\t\t\u003cusr_password\u003esimplicite\u003c/usr_password\u003e\n\t\u003c/data\u003e\n\u003c/object\u003e\n\u003c/simplicite\u003e\n```\n\n### Load data\n\nSample data is provided as a module's dataset.\n\nOpen this dataset and click on the _Apply_ button after having imported the module and made a full clear cache.\n\n### Quality\n\nThis module can be analysed by the **SonarQube** quality analysis tool with\nthe follwing command:\n\n```bash\nsonar-scanner -Dsonar.exclusions=\"**.min.js,**.min.css,ObjectExternal/pizzeria-resources/STYLES.less\"`\n```\n\n**Note**: this module is implemented using the **Rhino** scripting language on server-side.\n\n`PzaOrderHistoric` business object definition\n---------------------------------------------\n\nPizza **order** history business object, tracks changes on:\n\n- Date\n- Status\n\n### Fields\n\n| Name                                                         | Type                                     | Required | Updatable | Personal | Description                                                                      |\n|--------------------------------------------------------------|------------------------------------------|----------|-----------|----------|----------------------------------------------------------------------------------|\n| `row_ref_id` link to **`PzaOrder`**                          | id                                       | yes*     |           |          | Record row ID                                                                    |\n| `row_idx`                                                    | int(11)                                  | yes*     | yes       |          | History record index                                                             |\n| `created_by_hist`                                            | char(100)                                | yes*     |           |          | Created by                                                                       |\n| `created_dt_hist`                                            | datetime                                 | yes*     |           |          | Created date                                                                     |\n| `pzaOrdDate`                                                 | datetime                                 | yes*     |           |          | Order date                                                                       |\n| `pzaOrdStatus`                                               | enum(20) using `PZA_ORD_STATUS` list     | yes      | yes       |          | Status                                                                           |\n\n### Lists\n\n* `PZA_ORD_STATUS`\n    - `PND` Pending\n    - `VAL` Validated\n    - `DEL` Delivered\n    - `CNC` Cancelled\n\n`PzaOrder` business object definition\n-------------------------------------\n\nPizza **order** business object\n\n### Fields\n\n| Name                                                         | Type                                     | Required | Updatable | Personal | Description                                                                      |\n|--------------------------------------------------------------|------------------------------------------|----------|-----------|----------|----------------------------------------------------------------------------------|\n| `pzaOrdDate`                                                 | datetime                                 | yes*     |           |          | Order date                                                                       |\n| `pzaOrdName`                                                 | char(100)                                | yes      | yes       | yes      | Order name                                                                       |\n| `pzaOrdPhone`                                                | phone(20)                                |          | yes       | yes      | Ordering person's phone number                                                   |\n| `pzaOrdEmail`                                                | email(100)                               |          | yes       | yes      | Ordering person's email address                                                  |\n| `pzaOrdAddress`                                              | char(100)                                | yes      | yes       | yes      | Address                                                                          |\n| `pzaOrdCoordinates`                                          | geocoords                                |          | yes       |          | Coordinates                                                                      |\n| `pzaOrdComments`                                             | text(1000000)                            |          | yes       |          | Order comments                                                                   |\n| `pzaOrdStatus`                                               | enum(20) using `PZA_ORD_STATUS` list     | yes      | yes       |          | Status                                                                           |\n| `pzaOrdPizId` link to **`PzaPizza`**                         | id                                       | yes      | yes       |          | Order pizza                                                                      |\n| _Ref. `pzaOrdPizId.pzaPizName`_                              | _regexp(100)_                            |          |           |          | _Pizza name_                                                                     |\n| _Ref. `pzaOrdPizId.pzaPizPicture`_                           | _image_                                  |          |           |          | _Pizza picture_                                                                  |\n| _Ref. `pzaOrdPizId.pzaPizPrice`_                             | _float(10, 2)_                           |          |           |          | _Pizza price_                                                                    |\n\n### Lists\n\n* `PZA_ORD_STATUS`\n    - `PND` Pending\n    - `VAL` Validated\n    - `DEL` Delivered\n    - `CNC` Cancelled\n\n`PzaPizza` business object definition\n-------------------------------------\n\n**Pizza** business object\n\n### Fields\n\n| Name                                                         | Type                                     | Required | Updatable | Personal | Description                                                                      |\n|--------------------------------------------------------------|------------------------------------------|----------|-----------|----------|----------------------------------------------------------------------------------|\n| `pzaPizName`                                                 | regexp(100)                              | yes*     | yes       |          | Pizza name                                                                       |\n| `pzaPizPrice`                                                | float(10, 2)                             | yes      | yes       |          | Pizza price                                                                      |\n| `pzaPizType`                                                 | enum(10) using `APP_PIZ_TYPE` list       | yes      | yes       |          | Pizza type                                                                       |\n| `pzaPizDiameter`                                             | int(3)                                   |          | yes       |          | Pizza diameter                                                                   |\n| `pzaPizPicture`                                              | image                                    |          | yes       |          | Pizza picture                                                                    |\n| `pzaPizDesc`                                                 | html(10000)                              |          | yes       |          | Pizza description                                                                |\n| `pzaPizVideo`                                                | url(1024)                                |          | yes       |          | Pizza presentation video                                                         |\n\n### Lists\n\n* `APP_PIZ_TYPE`\n    - `THIN` Thin\n    - `PAN` Pan\n\n`pizzeria` external object definition\n-------------------------------------\n\nPizzeria web frontend using simple Mustache templating\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplicitesoftware%2Fmodule-pizzeria","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplicitesoftware%2Fmodule-pizzeria","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplicitesoftware%2Fmodule-pizzeria/lists"}