This is a SAPUI5 app represents the dashboard of the project. It visualizes the charity data from the RAP charity service with UI Integration Cards.
The context in which it runs is shown as the highlighted section of the whiteboard:
- Install deps
npm install
- Replace the first route in the
xs-app.json
with{ "source": "^/sap/credits", "target": "/credits.json", "localDir": "sample" }
- Run Approuter
npm start
- Access http://localhost:5000/ to test the integration cards
Prior to any deployment, create a destination named rap
in the SAP Cloud Platform cockpit. This destination shall point to the RAP Charity Rest service and specify the applied authentication parameters. Make sure to use the right autentication type:
- Subscribe to the Launchpad service
- Build the project with
mbt build
- Deploy with
cf deploy mta_archives/developer-keynote-dashboard_1.0.0.mtar
- Run the following command to print the URL of the web app
cf html5-list -di developer-keynote-dashboard-destination-service -u
. Note that you need to replacecpp
withlaunchpad
before accessing it.