Find here a collection of samples for the SAP Cloud Application Programming Model organized in a simplistic monorepo setup.
Assumed you did your initial setup of CAP Node.js, simply copy & paste these lines to a terminal for a jumpstart:
git clone -q https://github.com/sap-samples/cloud-cap-samples cap/samples
cd cap/samples
npm install
npm test
npm start
After download and setup this starts the bookshop server and opens a browser window on http://localhost:4004 looking like that:
Click on the /vue link at the top to display the bookshop app (when asked to log in, type alice
as user and leave the password field blank).
After the jumpstart, have a look into the enclosed sub folders/projects, which are:
- bookshop – a simplistic primer app
- reviews - a generic reuse service
- orders - a generic reuse service
- common - a reuse content package
- bookstore - a composite app of the above
- fiori - Fiori elements UIs for the bookstore
- etc/* - Plugins adding cross-cutting concerns
- test - Tests for all the above
see also samples.md
- Visit the capire docs to learn about CAP, ...
- especially Getting Started in a Nutshell.
- Visit our SAP Community to ask questions.
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.