Files
cloud-cap-samples/samples.md
Iwona Hahn 0aa95a0a67 cosmetics
2021-02-17 17:54:47 +01:00

3.8 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/suppliers

  • Shows how to integrate remote services, in this case the BusinessPartner service from SAP S/4HANA.
  • Extending @capire/bookshop with suppliers from SAP S/4HANA
  • Providing that as a pre-built integration & extension package
  • Used in @capire/fiori

@capire/fiori


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 acts like a local npm registry to the individual sample packages.