https://github.com/cuba-platform/sample-booking
Sample application for managing office resources
https://github.com/cuba-platform/sample-booking
polymer
Last synced: 7 months ago
JSON representation
Sample application for managing office resources
- Host: GitHub
- URL: https://github.com/cuba-platform/sample-booking
- Owner: cuba-platform
- Created: 2018-05-26T05:30:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-07T08:14:16.000Z (almost 8 years ago)
- Last Synced: 2025-01-23T08:19:40.030Z (over 1 year ago)
- Topics: polymer
- Language: HTML
- Homepage: https://www.cuba-platform.com
- Size: 246 KB
- Stars: 4
- Watchers: 21
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Booking
This is a simple real-world application for managing office resources.
The feature of this sample is that Polymer client is used as the main UI.
It contains both default views generated by CUBA Studio and custom views and
components.
Here you can find some non-trivial code examples, such as manual entities persisting
or promises combining.
Based on CUBA Platform 6.8.5
## Features
In short, the application solves two problems:
1. It allows to manage resources and its categories that can be booked.
2. It allows to check existing and create new bookings on a custom calendar view.
Some details:
- There are categories that group resources (e.g. Devices or Shared Accounts).
- There are resources that represent real-world objects (e.g. Projector).
- The system consists of three web applications deployed onto one Tomcat instance:
- Middleware
- CUBA Generic UI
- Polymer UI
## Usage
- Open the project in Studio and execute **Run > Create database**, then
**Run > Start application server**.
- The application will start and Polymer UI will be available at
`http://localhost:8080/app-front/` and Generic UI at `http://localhost:8080/app/`.
Use `admin` as both login and password to access the application.
## Topics covered
- Middleware (Security/REST Services).
- `cuba-elements` usage (web components).
- Standard and custom data flow.
- External CSS/JS in Polymer UI.
Please check Wiki for further reading:
[link](https://github.com/cuba-platform/sample-booking/wiki).
## Screenshots
#### Calendar View

#### Category Editor

## Issues
Please use https://www.cuba-platform.com/discuss for discussion, support, and reporting problems coressponding to this sample.