This sample provides a frontend SAPUI5 application that you can configure with any of the sample Order APIs.
This sample demonstrates how to:
KUBECONFIG file downloaded from the Kyma runtime.Clone the project.
Inside the directory, run:
npm install
Adjust the value of the API_URL parameter in the webapp/config.js file to match your orders API URL.
To start the application, run:
npm run-script start
The application loads at http://localhost:8080.
docker build -t {your-docker-account}/fe-ui5-mssql -f docker/Dockerfile .
docker push {your-docker-account}/fe-ui5-mssql
webapp/config.js file and mount it into the image: docker run --mount type=bind,source=$(pwd)/webapp/config.json,target=/usr/share/nginx/html/config.json -p 8080:80 -d {your-docker-account}/fe-ui5-mssql:latest
dev Namespace:```shell script kubectl create namespace dev
2. Within the project open the file `k8s/configmap.yaml` and adjust the `API_URL` by replacing `<cluster domain>` to the match the Kyma runtime cluster domain.
3. Apply the Resources:
```shell script
kubectl -n dev apply -f ./k8s/configmap.yaml
kubectl -n dev apply -f ./k8s/deployment.yaml
kubectl -n dev apply -f ./k8s/apirule.yaml
https://fe-ui5-mssql.{cluster-domain}