capire/bookstore
A composite application assembled from separately deployed services — bookshop, reviews, orders and a common content package — rather than one project with more folders in it.
The sample for the question the primer cannot answer: what changes when the domain is split across services that deploy independently. The reuse services are real repositories, not directories, so the composition is the lesson.
Facts
Where it sits
Who is behind it
In the atlas: maintains 20, wrote 1@capiremaintainerJohannes VogtContributes to this
In the atlas: maintains 1, contributes to 28, wrote 10@AkatuoroChristian GeorgiContributes to this
In the atlas: maintains 1, contributes to 53@chgeoDaniel HutzelContributes to this
In the atlas: contributes to 32, wrote 3@danjoaDJ AdamsContributes to this
Developer Advocate
In the atlas: contributes to 20, wrote 22@qmacroOlenaContributes to this
In the atlas: contributes to 11@etimrGregor WolfContributes to this
In the atlas: maintains 17, contributes to 59, wrote 2@gregorwolfJohannes VogelContributes to this
In the atlas: contributes to 25@johannes-vogelRené JeglinskyContributes to this
In the atlas: contributes to 20@renejeglinskysjvansContributes to this
In the atlas: contributes to 45@sjvansSteffen WaldmannContributes to this
In the atlas: contributes to 25@swaldmann11 contributors
What it declares
Every artifact
- Type
- Sample
- Origin
- By SAP
As a sample
- Form
- A reference application
Connections
Connecting a data model and its queries to a database
Whole applications to read rather than snippets to copy
Building one solution from reuse packages other projects published
Download
README
quoted from capire/bookstore under Apache-2.0, read@capire/bookstore
A composite app of
- bookshop – a simple primer app
- reviews - a generic reuse service
- orders - a generic reuse service
- common - a reuse content package
- SAP Fiori Elements UIs
Get it
git clone https://github.com/capire/bookstore
cd bookstore
npm install
This repository uses the github npm registry for the
@capirescope. You may need to login using a github personal access token with scoperead:packages.npm login --scope @capire --registry=https://npm.pkg.github.comFor more details on this, see Using @capire modules from GitHub Packages.
Run it
cds watch
Deploy it
This @capire/bookstore sample demonstrates the consumption of external services via the ReviewsService and OrdersService. Therefore, remove the "kind": "odata" entries in package.json if you want to deploy this project as a monolith.
To deploy the microservices separately in a modulith deployment, refer to the enclosing samples monorepo and its deployment and pipeline configuration.
License
Copyright (c) 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
Contributors
History in the atlas
- First seen.
For your agent
- Ref
artifact:capire-bookstore- JSON
- /artifacts/capire-bookstore.json
- MCP
- Connecting an agent