{"id":20484456,"url":"https://github.com/sap-samples/cloud-cap-samples","last_synced_at":"2025-05-14T20:04:21.960Z","repository":{"id":37431683,"uuid":"206862949","full_name":"SAP-samples/cloud-cap-samples","owner":"SAP-samples","description":"This project contains sample applications for SAP Cloud Application Programming Model.","archived":false,"fork":false,"pushed_at":"2025-04-11T12:16:23.000Z","size":6922,"stargazers_count":526,"open_issues_count":23,"forks_count":528,"subscribers_count":63,"default_branch":"main","last_synced_at":"2025-04-11T14:00:14.859Z","etag":null,"topics":["business-technology-platform","cap","nodejs","sample","sample-code","sap-btp","sap-cap"],"latest_commit_sha":null,"homepage":"https://cap.cloud.sap/","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/SAP-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2019-09-06T19:41:28.000Z","updated_at":"2025-04-11T11:53:10.000Z","dependencies_parsed_at":"2023-02-19T10:15:38.129Z","dependency_job_id":"3691fdce-24a8-42c0-9f40-4e41033f623e","html_url":"https://github.com/SAP-samples/cloud-cap-samples","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fcloud-cap-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fcloud-cap-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fcloud-cap-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SAP-samples%2Fcloud-cap-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SAP-samples","download_url":"https://codeload.github.com/SAP-samples/cloud-cap-samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248753392,"owners_count":21156269,"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","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":["business-technology-platform","cap","nodejs","sample","sample-code","sap-btp","sap-cap"],"created_at":"2024-11-15T16:22:31.643Z","updated_at":"2025-04-13T17:37:13.728Z","avatar_url":"https://github.com/SAP-samples.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# Welcome to cap/samples\n\nFind here a collection of samples for the [SAP Cloud Application Programming Model](https://cap.cloud.sap) organized in a simplistic [monorepo setup](samples.md#all-in-one-monorepo).\n\n[See **Overview** of contained samples](samples.md):\n\n![](etc/samples.drawio.svg)\n\n![](https://github.com/SAP-samples/cloud-cap-samples/workflows/CI/badge.svg)\n\n\n\n### Preliminaries\n\nEnsure you have the latest LTS version of Node.js, [`@sap/cds-dk`](https://www.npmjs.com/package/@sap/cds-dk) installed globally, `git` and your IDE ready (see [Initial Setup](https://cap.cloud.sap/docs/get-started/#setup))\n\n### Download\n\nIf you've [Git](https://git-scm.com/downloads) installed, clone this repo as shown below, otherwise [download as ZIP file](archive/main.zip).\n\n```sh\ngit clone https://github.com/sap-samples/cloud-cap-samples samples\ncd samples\n```\n\n### Setup\n\nIn the samples folder run:\n\n```sh\nnpm ci\n```\n\n### Run\n\nWith that you're ready to run the samples, for example:\n\n```sh\ncds watch bookshop\n```\n\nAfter that open this link in your browser: [http://localhost:4004](http://localhost:4004)\n\nWhen asked to log in, type `alice` as user and leave the password field blank, which is the [default user](https://cap.cloud.sap/docs/node.js/authentication#mocked).\n\n### Testing\n\nRun the provided tests with [_jest_](http://jestjs.io) or [_mocha_](http://mochajs.org), for example:\n\n```sh\nnpx jest\n```\n\u003e While mocha is a bit smaller and faster, jest runs tests in parallel and isolation, which allows to run all tests.\n\n## Get Support\n\nCheck out the documentation at [https://cap.cloud.sap](https://cap.cloud.sap). \u003cbr\u003e\nIn case you've a question, find a bug, or otherwise need support, use our [community](https://answers.sap.com/tags/9f13aee1-834c-4105-8e43-ee442775e5ce) to get more visibility.\n\n\n## License\n\nCopyright (c) 2022 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, version 2.0 except as noted otherwise in the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap-samples%2Fcloud-cap-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsap-samples%2Fcloud-cap-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsap-samples%2Fcloud-cap-samples/lists"}