2021-04-23 13:58:46 +02:00
2021-04-23 13:58:46 +02:00
2019-09-06 12:16:54 +02:00
2019-10-24 12:03:37 +02:00
2019-09-06 13:56:54 +05:30
2019-09-06 13:56:54 +05:30
2020-04-02 15:52:37 +02:00
2020-04-07 13:58:59 +02:00

Welcome to SAP Cloud Application Programming model samples

Find here the samples for the openSAP course Building Applications with the SAP Cloud Application Programming Model.

Get Access to SAP Business Application Studio

The recommended environment for the course is SAP Business Application Studio. Watch unit 2 of week 1 for how to get access.

Setup

In SAP Business Application Studio, open a terminal. Then clone the repo with this specific branch:

git clone https://github.com/sap-samples/cloud-cap-samples projects/cloud-cap-samples -b openSAP-week2-unit4567
cd projects/cloud-cap-samples

In the cloud-cap-samples folder run:

npm install

Cloud Foundry Login

This is required later in the demo. In Studio's terminal, execute:

cf login

As input, provide

  • The Cloud Foundry API endpoint, which is usally https://api.cf.eu10.hana.ondemand.com. It can be obtained from the Overview page of your Subaccount in Cloud Cockpit.
  • Your user's email address and password
  • The name of your trial organization and space

Run

Now you're ready to run the samples, for example:

cd packages/bookshop
cds watch

After that, watch out for the little popup in the lower right corner of SAP Business Application Studio that asks you to open the application in your browser.

Get Support

Check out the cap docs at https://cap.cloud.sap.
In case you find a bug or need support, please open an issue in here.

License

Copyright (c) 2020 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.

Description
This project contains sample applications for SAP Cloud Application Programming Model.
Readme Apache-2.0 10 MiB
Languages
JavaScript 64.7%
CAP CDS 23.6%
HTML 11.7%