This is a monorepository for sample projects on SAP Cloud Application Programming Model.
This repository provides a list of samples and reusable packages created based on SAP Cloud Application Programming Model. The SAP Cloud Application Programming Model enables you to quickly create business applications by allowing you to focus on your domain logic. It offers a consistent end-to-end programming model that includes languages, libraries and APIs tailored for full-stack development on SAP Cloud Platform.
The samples provided can be run in a local setup on SQLite Database.
# sets the registry for `@sap` packages
npm set @sap:registry=https://npm.sap.com
npm install -g @sap/cds-dk
cds #> test-run it
Got issues? Check out the documentation.
git clone https://github.com/SAP-samples/cloud-cap-samples samples && cd samples && npm i
With that you're ready to run the samples, e.g. start the bookshop sample as follows:
npm run bookshop
For example, try these links in your browser:
- http://localhost:4004 to test with generic index page.
- http://localhost:4004/fiori.html to test with Fiori sandbox.
For example, in VS Code switch to Debug view and launch one of the prepared cds run launch configurations.
None
None
Check out the documentation on https://cap.cloud.sap. In case you find a bug, or you need additional support, please open an issue here in GitHub.
None
Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under SAP Sample Code License Agreement, except as noted otherwise in the LICENSE file.