This is a sample applications based on Cloud Foundry. It is coded in NodeJ and integrated with SAP Business ByDesign using the OData Services to list Items.
The idea of this application is based in the beer-list app.
- Install the Cloud Foundry CLI
- Learn the Fundamentals of SCP Cloud Foundry
- A SAP Business ByDesign Tenant
- Deploy this Materials OData Definition on your tenant. See here how
Clone this repository
git clone https://github.com/SAP-Samples/scp-byd.git
From the root directory, using the Cloud Foundry CLI push your app to the SAP CP Cloud Foundry
cf push --random-route
Then set the Environment Variables accordingly
cf set-env scp-byd BYD_TENANT http://<your ByD Tenant server>
cf set-env scp-byd BYD_USER <ByD User>
cf set-env scp-byd BYD_PASSWORD <ByD Password>
Example
cf set-env scp-byd BYD_TENANT https://my60666.sapbydesign.com
cf set-env scp-byd BYD_USER INTEGRATIONUSER
cf set-env scp-byd BYD_PASSWORD a1b2c3
Restart your application (so it can read the new environment variables)
cf restart scp-byd
Access the app from the URL route shown in the terminal
This repository is provided "as-is". With no Warranty or support
If you have questions, please ask.
Copyright (c) 2020 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.