/scp-byd

Sample web application to run on SAP BTP, Cloud Foundry environment that integrates with SAP Business ByDesign.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

REUSE status License: Apache2 CI

scp-byd

SAP SAP

Description

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.

Live Version

Requirements

Deployment

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

Support and Contributions

This repository is provided "as-is". With no Warranty or support

If you have questions, please ask.

License

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.