https://github.com/cuba-platform/sample-sales
Sample application from the Quick Start tutorial for CUBA 6.10
https://github.com/cuba-platform/sample-sales
cuba-sample
Last synced: about 1 year ago
JSON representation
Sample application from the Quick Start tutorial for CUBA 6.10
- Host: GitHub
- URL: https://github.com/cuba-platform/sample-sales
- Owner: cuba-platform
- License: apache-2.0
- Created: 2017-12-05T12:37:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-09-05T13:52:09.000Z (almost 7 years ago)
- Last Synced: 2025-06-15T13:07:45.424Z (about 1 year ago)
- Topics: cuba-sample
- Language: Java
- Homepage:
- Size: 113 KB
- Stars: 0
- Watchers: 27
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**ATTENTION! This sample is built for outdated platform version. See [sample-sales-cuba7](https://github.com/cuba-platform/sample-sales-cuba7) for the latest version.**
# Sales
This is a "Hello World" application which is designed to show the core capabilities and features of both the CUBA Platform and Studio.
The Sales application is a simple purchase management system that enables tracking orders made by customers. Each order consists of a number of products. Customers, products and orders can be created, edited and deleted through the system user interface.
The tutorial videos with the detailed description are available on the [Quick Start](https://www.cuba-platform.com/en/quickstart). The Quick Start enables you to start your own CUBA application within 30 minutes.
The application project covers the following aspects:
- Data Model Design
- Creating entities
- Executing DDL scripts
- Creating relationships in entities
- User Interface Design
- Generating CRUD screens
- Creating views for related entities
- Creating data sources for screens to display composite screens
- Visual editing of the existing screens
- Creating Integration Tests
In order to run integration tests, do the following:
- Execute `startTestDb` and `createTestDb` Gradle tasks in the command line or via the Studio *Search* dialog.
- To run the tests from the command line, use the `test` Gradle task.
- To run from an IDE, first execute *Build > Assemble project*, then *Build > Create or update IDE project files*. After that you can run tests from the IDE.
Based on CUBA Platform 6.10.1
## Issues
Please use https://www.cuba-platform.com/discuss for discussion, support, and reporting problems coressponding to this sample.