SampleSampletypeA worked example you read or clone. Evidence: it demonstrates, it never provides.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →

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

Last pushLicenceApache-2.0

Where it sits

Lives in
Demonstrates
Reference appsCAPReference appscapabilityA whole application to read rather than a snippet to copy — somewhere to see how the pieces sit together once there are more than three of them.Database connectorsCAPDatabase connectorscapabilityConnecting an application’s data model and queries to a database, including the differences in supported queries, types and schema management between database implementations. Changing an existing schema belongs to [schema evolution](capability:schema-evolution).Service compositionCAPService compositioncapabilityBuilding one solution out of parts other projects published: a reuse package brings its models, code, initial data and texts into your project through npm or Maven, you serve what you reference and extend what you import, and the same modules deploy as one application or as several on a shared database. Distinct from [service integration](capability:service-integration), which reaches a service that stays deployed elsewhere, and from [tenant extensibility](capability:tenant-extensibility), which is a subscriber extending a running SaaS.

Who is behind it

Capire Docs & SamplesCapire Docs & SamplesOrganisationMaintains this
In the atlas: maintains 20, wrote 1
@capire
maintainerJohannes VogtPersonContributes to this
In the atlas: maintains 1, contributes to 28, wrote 10
@Akatuoro
Christian GeorgiPersonContributes to this
In the atlas: maintains 1, contributes to 53
@chgeo
Daniel HutzelPersonContributes to this
In the atlas: contributes to 32, wrote 3
@danjoa
DJ AdamsPersonContributes to this
Developer Advocate
In the atlas: contributes to 20, wrote 22
@qmacro
OlenaPersonContributes to this
In the atlas: contributes to 11
@etimr
Gregor WolfPersonContributes to this
In the atlas: maintains 17, contributes to 59, wrote 2
@gregorwolf
Johannes VogelPersonContributes to this
In the atlas: contributes to 25
@johannes-vogel
René JeglinskyPersonContributes to this
In the atlas: contributes to 20
@renejeglinsky
sjvansPersonContributes to this
In the atlas: contributes to 45
@sjvans
Steffen WaldmannPersonContributes to this
In the atlas: contributes to 25
@swaldmann
11 contributors

What it declares

Every artifact

Type
Sample
Origin
By SAP

As a sample

Form
A reference application

Connections3

README

quoted from capire/bookstore under Apache-2.0, read
capire/bookstore/README.mdOn GitHub

@capire/bookstore

A composite app of

Get it
git clone https://github.com/capire/bookstore
cd bookstore
npm install

This repository uses the github npm registry for the @capire scope. You may need to login using a github personal access token with scope read:packages.

npm login --scope @capire --registry=https://npm.pkg.github.com

For 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.

Apache-2.0, read

Details

Sources3
GitHub APIdiscovered here, capirechecked
github.com/capire/bookstoretree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

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
discovered viaGitHub API · capire
first seen in the atlas
ecosystem and domaincap, learning-and-reference
Contributors11
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:capire-bookstore
JSON
/artifacts/capire-bookstore.json
MCP
Connecting an agent