Files
cloud-cap-samples/samples.md
Christian Georgi 97670bbc84 Swagger UI with cds-swagger-ui-express
Moved from `bookshop` to `fiori`, as that one already has a `server.js`
2021-07-05 17:46:24 +02:00

3.5 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/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.