Files
cloud-cap-samples/samples.md
DJ Adams d915bd7b54 Minor improvements to the samples docu (#372)
* fix Capire URL for Fiori

* bring Fiori notes in line with tour notes

* make sentence more readable

* be explicit about Node.js LTS

This is because earlier versions of Node.js come with earlier versions
of npm, but npm version 8 is requires for the monorepo package features
in this repo.
2022-07-04 18:52:37 +02:00

3.9 KiB

Overview of Samples

The following list gives an overview of the samples provided in subdirectories. Each sub directory essentially is an individual npm package arranged in an all-in-one monorepo umbrella setup.

@capire/hello-world

@capire/bookshop

@capire/common

@capire/orders

@capire/reviews

  • Shows how to implement a modular service to manage product reviews, including:
  • Consuming other services synchronously and asynchronously
  • Serving requests synchronously
  • Emitting events asynchronously
  • Grow as you go, with:
  • Mocking app services
  • Running service meshes
  • Late-cut Micro Services
  • As well as managed data, input validations, and authorization

@capire/bookstore

@capire/fiori

  • Adds an SAP Fiori elements application to bookstore, thereby introducing:
  • OData Annotations in .cds files
  • Support for Fiori Draft
  • Support for Value Helps
  • Serving SAP Fiori apps locally
  • Fiori Elements V2
    • OData V2 using CDS OData V2 Adapter Proxy
    • List Report (type TreeTable)
    • @sap.hierarchy annotations

See the Serving Fiori UIs documentation for more information.


All-in-one Monorepo

Each sample sub directory essentially is a standard npm package, some with standard npm dependencies to other samples. The root folder's package.json has local links to the sub folders, such that an npm install populates a local node_modules folder and acts like a local npm registry to the individual sample packages.