{"id":21430089,"url":"https://github.com/cuba-platform/sample-portal","last_synced_at":"2025-06-16T08:31:50.595Z","repository":{"id":150932311,"uuid":"58939145","full_name":"cuba-platform/sample-portal","owner":"cuba-platform","description":"Example of a portal implemented using AngularJS","archived":false,"fork":false,"pushed_at":"2019-03-26T13:10:44.000Z","size":726,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-03-16T21:48:46.436Z","etag":null,"topics":["cuba-sample"],"latest_commit_sha":null,"homepage":"https://www.cuba-platform.com","language":"HTML","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cuba-platform.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":"2016-05-16T14:30:24.000Z","updated_at":"2019-03-26T13:10:46.000Z","dependencies_parsed_at":"2023-04-28T00:00:55.822Z","dependency_job_id":null,"html_url":"https://github.com/cuba-platform/sample-portal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cuba-platform/sample-portal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-portal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-portal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-portal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-portal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cuba-platform","download_url":"https://codeload.github.com/cuba-platform/sample-portal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-portal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260126207,"owners_count":22962602,"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":["cuba-sample"],"created_at":"2024-11-22T22:20:37.378Z","updated_at":"2025-06-16T08:31:50.577Z","avatar_url":"https://github.com/cuba-platform.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Portal\n\nThis is a showcase CUBA application that contains a portal module with AngularJS client application.\n\n* `MenuController` loads a list of items to display them for authenticated and anonimous users.\n* The `web` folder contains a single-page website based on AngularJS which communicates with the main application through [REST API](https://doc.cuba-platform.com/manual-6.1/rest_api.html).\n* `OrderListener` is an [entity listener](https://doc.cuba-platform.com/manual-6.1/entity_listeners.html) which is used to set a default status and user.\n\nTo see the example in action, do the following:\n\n* Open the project in Studio\n* Click *Run \u003e Start application server*\n* If you see the warning *Database does not exist ...*, click *Create DB in background*\n* Go to `http://localhost:8080/app` and log in as `admin` / `admin` to see the main app\n* Go to `http://localhost:8080/app-portal` and log in as `demo` / `demo` to see the portal module\n\nCreating a new order:\n\n* Go to `http://localhost:8080/app-portal` and log in as `demo` / `demo`\n* Add to cart some items from menu\n* Click *Place order*\n* Go to `http://localhost:8080/app` and log in as `admin` / `admin`\n* Open Orders browser to watch your order\n\nYou can change the status of your order via Order editor or you can set status `Canceled` by clicking *Cancel order* button in the portal application.\n\nCreating a new position:\n\n* Go to `http://localhost:8080/app` and log in as `admin` / `admin`\n* Open Orders browser to add a new food item\n* Refresh `http://localhost:8080/app-portal` to see it\n\nBased on CUBA Platform 6.10.1\n\n## Issues\nPlease use https://www.cuba-platform.com/discuss for discussion, support, and reporting problems coressponding to this sample.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuba-platform%2Fsample-portal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuba-platform%2Fsample-portal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuba-platform%2Fsample-portal/lists"}