This is an SAP Cloud Application Programming Model project that demonstrates how to integrate and use standard JavaScript within your CAP application. It also teaches basic JavaScript techniques and language elements that will be helpful in CAP development. We also see how to add new Express middleware and routes to a single CAP service endpoint.
This sample is based upon the SAP Cloud Application Programming version 7.x and higher.
Project can be cloned, install dependencies via npm install, and then ran using npm start from the root of the project. The default CAP test page will be accessible but also contain links to the applications and testing endpoints of this project.
No known issues
Create an issue in this repository if you find a bug or have questions about the content.
For additional support, ask a question in SAP Community.
If you wish to contribute code, offer fixes or improvements, please send a pull request. Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses the standard DCO text of the Linux Foundation.
Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.