* add read only tree table and value help
* rm tree table in catalogservice
* Update cat-service.cds
* i18n and object page
* hana workaround, local messaging and rm virtual
* move hierarchy to fiori
* Update admin-service.cds
* Update common.cds
* fix after moving to fiori
* fix UI filter
* file-based-messaging in hybrid
* review fixes
* Update services.cds
* make bookshop Books fiori.draft.enabled
* add simplest handler for sqlite
* adapt test and link in csvs
* .
* Reverting to human-readable UUIDs :)
* Less obstrusive workaround
* typo
* Update fiori/app/common.cds
* Update fiori/app/common.cds
* Workaround for stupid GUID check in Fiori client
* ...
* Simplified mock support for recursive hierarchies in SQLite :)
* missing comma
* Rudimentary tree support for Genres on SQLite
* ?.
* fixed copy error
* using subselect to determine leafs
* Revert "using subselect to determine leafs"
This reverts commit f01ddaea1f.
* Using scalar subselect for DrillState
* .
---------
Co-authored-by: D070615 <olena.timrova@sap.com>
Co-authored-by: D045778 <johannes.vogel@sap.com>
Co-authored-by: Daniel Hutzel <daniel.hutzel@sap.com>
Bookshop Getting Started Sample
This stand-alone sample introduces the essential tasks in the development of CAP-based services as also covered in the Getting Started guide in capire.
Hypothetical Use Cases
- Build a service that allows to browse Books and Authors.
- Books have assigned Genres, which are organized hierarchically.
- All users may browse books without login.
- All entries are maintained by Administrators.
- End users may order books (the actual order mgmt being out of scope).
Running the Sample
npm run watch
Content & Best Practices
| Links to capire | Sample files / folders |
|---|---|
| Project Setup & Layouts | ./ |
| Domain Modeling with CDS | ./db/schema.cds |
| Defining Services | ./srv/*.cds |
| Single-purposed Services | ./srv/*.cds |
| Providing & Consuming Providers | http://localhost:4004 |
| Using Databases | ./db/data/*.csv |
| Adding Custom Logic | ./srv/*.js |
| Adding Tests | ./test |
| Sharing for Reuse | ./index.cds |