{"id":16163336,"url":"https://github.com/gregorwolf/html5userapiforcf","last_synced_at":"2025-10-14T06:37:50.478Z","repository":{"id":40291297,"uuid":"222285604","full_name":"gregorwolf/HTML5UserAPIforCF","owner":"gregorwolf","description":"HTML5UserAPI for Cloud Foundry","archived":false,"fork":false,"pushed_at":"2025-05-04T16:06:08.000Z","size":3305,"stargazers_count":29,"open_issues_count":18,"forks_count":10,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-04T17:21:20.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gregorwolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["gregorwolf"],"patreon":null,"open_collective":null,"ko_fi":"gregorwolf","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-11-17T17:28:38.000Z","updated_at":"2025-05-04T16:06:12.000Z","dependencies_parsed_at":"2024-11-25T19:23:20.804Z","dependency_job_id":"8489cdde-9ec4-4d5b-9b59-0c81c0a2f434","html_url":"https://github.com/gregorwolf/HTML5UserAPIforCF","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/gregorwolf/HTML5UserAPIforCF","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2FHTML5UserAPIforCF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2FHTML5UserAPIforCF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2FHTML5UserAPIforCF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2FHTML5UserAPIforCF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregorwolf","download_url":"https://codeload.github.com/gregorwolf/HTML5UserAPIforCF/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2FHTML5UserAPIforCF/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018115,"owners_count":26086281,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T02:35:18.946Z","updated_at":"2025-10-14T06:37:50.443Z","avatar_url":"https://github.com/gregorwolf.png","language":"JavaScript","readme":"# HTML5UserAPI for Cloud Foundry\n\nThis project provides a simple MTA application which serves links to a Node.js backend that servers some Endpoints showing user information using Express. It can be deployed as an Multi Target Application to the SAP Cloud Platform - Cloud Foundry Environment.\n\n## Deploy to SAP Cloud Platform - Cloud Foundry\n\n### Prerequisite\n\nIf you want to deploy the latest released version:\n\n- You have a [SAP Business Technology Platform Platform Trial](https://hanatrial.ondemand.com/), [Free Tier or productive account](https://cockpit.eu10.hana.ondemand.com/)\n- The [Cloud Foundry command line tool](https://docs.cloudfoundry.org/cf-cli/install-go-cli.html) is installed\n- The [MultiApps CF CLI Plugin](https://github.com/cloudfoundry-incubator/multiapps-cli-plugin) is installed\n- You've connected using `cf login`to your BTP subaccount\n- You've connected a [SAP Cloud Connector](https://tools.hana.ondemand.com/#cloud) to your subaccount\n- [Principal Propagation is setup in the Cloud Connector to the ABAP Backend](https://blogs.sap.com/2017/06/22/how-to-guide-principal-propagation-in-an-https-scenario/)\n\nIf you want to build the current state of the repository:\n\n- You have the Node.JS version defined in .nvmrc installed\n- The [Cloud MTA Build Tool (MBT)](https://sap.github.io/cloud-mta-build-tool/) is installed\n\n### Preperation\n\nBefore you can deploy the application to your Cloud Foundry account the destinations to the backend system must be created. Please find here what I've used in my environment:\n\nIf you want to test the connection to a SAP ABAP Backend via HTTP(S), then you have to create the destination SAP_ABAP_BACKEND used by the approuter:\n\n```\nURL=http\\://npl752.virtual\\:44300\nName=SAP_ABAP_BACKEND\nProxyType=OnPremise\nType=HTTP\nsap-client=001\nAuthentication=PrincipalPropagation\n```\n\nIf you want to test the connection to the SAP ABAP via RFC, then you have to create the destination SAP_ABAP_BACKEND_RFC used by the Java application:\n\n```\nType=RFC\njco.client.ashost=npl752.virtual\njco.destination.repository.user=SAPUSERNAME\nName=SAP_ABAP_BACKEND_RFC\njco.client.user=SAPUSERNAME\njco.client.sysnr=01\njco.destination.proxy_type=OnPremise\njco.client.client=001\n```\n\nIf you want to test the connection to the SAP Business One Service Layer via HTTP(S), then the destination SAP_B1_BACKEND must be created:\n\n```\nURL=http\\://b1server.virtual\\:44300\nName=SAP_B1_BACKEND\nProxyType=OnPremise\nType=HTTP\nAuthentication=BasicAuthentication\n```\n\nAs described in the answer to [B1 Service Layer Login Credentials as Destination Properties](https://answers.sap.com/answers/12688540/view.html) the credentials can be added as shown in this example:\n\n```\nusername: {\"UserName\": \"manager\", \"CompanyDB\": \"SBODEMOUS\"}\npassword: 1234\n```\n\n### Deploy the release version\n\n- Download the mtar file provided at [releases](https://github.com/gregorwolf/HTML5UserAPIforCF/releases)\n- run the command `cf deploy \u003cpath and filename of the mtar\u003e`\n\n### Build and Deploy\n\nTo build and deploy the project run:\n\n`npm run build:cf`\n\nand then\n\n```\nnpm run deploy:cf\n```\n","funding_links":["https://github.com/sponsors/gregorwolf","https://ko-fi.com/gregorwolf"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorwolf%2Fhtml5userapiforcf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregorwolf%2Fhtml5userapiforcf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorwolf%2Fhtml5userapiforcf/lists"}