{"id":21430148,"url":"https://github.com/cuba-platform/sample-booking","last_synced_at":"2026-01-04T04:06:17.901Z","repository":{"id":150932290,"uuid":"134932327","full_name":"cuba-platform/sample-booking","owner":"cuba-platform","description":"Sample application for managing office resources","archived":false,"fork":false,"pushed_at":"2018-08-07T08:14:16.000Z","size":252,"stargazers_count":4,"open_issues_count":3,"forks_count":2,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-01-23T08:19:40.030Z","etag":null,"topics":["polymer"],"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":null,"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":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":"2018-05-26T05:30:30.000Z","updated_at":"2019-09-25T19:05:28.000Z","dependencies_parsed_at":"2023-04-28T00:01:02.619Z","dependency_job_id":null,"html_url":"https://github.com/cuba-platform/sample-booking","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-booking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-booking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-booking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuba-platform%2Fsample-booking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cuba-platform","download_url":"https://codeload.github.com/cuba-platform/sample-booking/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243940063,"owners_count":20372044,"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":["polymer"],"created_at":"2024-11-22T22:21:00.609Z","updated_at":"2026-01-04T04:06:12.856Z","avatar_url":"https://github.com/cuba-platform.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Booking\n\nThis is a simple real-world application for managing office resources.\nThe feature of this sample is that Polymer client is used as the main UI.\nIt contains both default views generated by CUBA Studio and custom views and\ncomponents.\n\nHere you can find some non-trivial code examples, such as manual entities persisting\nor promises combining.\n\nBased on CUBA Platform 6.8.5\n\n## Features\n\nIn short, the application solves two problems:\n\n1. It allows to manage resources and its categories that can be booked.\n2. It allows to check existing and create new bookings on a custom calendar view.\n\nSome details:\n\n- There are categories that group resources (e.g. Devices or Shared Accounts).\n- There are resources that represent real-world objects (e.g. Projector).\n- The system consists of three web applications deployed onto one Tomcat instance:\n  - Middleware\n  - CUBA Generic UI\n  - Polymer UI\n\n## Usage\n\n- Open the project in Studio and execute **Run \u003e Create database**, then\n**Run \u003e Start application server**.\n- The application will start and Polymer UI will be available at\n`http://localhost:8080/app-front/` and Generic UI at `http://localhost:8080/app/`.\nUse `admin` as both login and password to access the application.\n\n## Topics covered\n\n- Middleware (Security/REST Services).\n- `cuba-elements` usage (web components).\n- Standard and custom data flow.\n- External CSS/JS in Polymer UI.\n\nPlease check Wiki for further reading:\n[link](https://github.com/cuba-platform/sample-booking/wiki).\n\n## Screenshots\n\n#### Calendar View\n\n![Calendar View](./img/calendar-view.png)\n\n#### Category Editor\n\n![Category Editor](./img/category-editor.png)\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-booking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuba-platform%2Fsample-booking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuba-platform%2Fsample-booking/lists"}