{"id":16163474,"url":"https://github.com/marianfoo/cap-post-test","last_synced_at":"2025-04-07T04:28:25.165Z","repository":{"id":218770745,"uuid":"737081758","full_name":"marianfoo/CAP-POST-Test","owner":"marianfoo","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-23T17:46:26.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T08:52:39.520Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marianfoo.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-29T18:58:31.000Z","updated_at":"2023-12-29T19:09:46.000Z","dependencies_parsed_at":"2024-01-23T19:20:49.163Z","dependency_job_id":null,"html_url":"https://github.com/marianfoo/CAP-POST-Test","commit_stats":null,"previous_names":["marianfoo/cap-post-test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marianfoo%2FCAP-POST-Test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marianfoo%2FCAP-POST-Test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marianfoo%2FCAP-POST-Test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marianfoo%2FCAP-POST-Test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marianfoo","download_url":"https://codeload.github.com/marianfoo/CAP-POST-Test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247592112,"owners_count":20963459,"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":[],"created_at":"2024-10-10T02:35:52.314Z","updated_at":"2025-04-07T04:28:25.147Z","avatar_url":"https://github.com/marianfoo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bookshop Getting Started Sample\n\nThis stand-alone sample introduces the essential tasks in the development of CAP-based services as also covered in the [Getting Started guide in capire](https://cap.cloud.sap/docs/get-started/in-a-nutshell).\n\n## Hypothetical Use Cases\n\n1. Build a service that allows to browse _Books_ and _Authors_.\n2. Books have assigned _Genres_, which are organized hierarchically.\n3. All users may browse books without login.\n4. All entries are maintained by Administrators.\n5. End users may order books (the actual order mgmt being out of scope).\n\n## Running the Sample\n\n```sh\nnpm run watch\n```\n\n## Content \u0026 Best Practices\n\n| Links to capire                                                                                           | Sample files / folders               |\n| --------------------------------------------------------------------------------------------------------- | ------------------------------------ |\n| [Project Setup \u0026 Layouts](https://cap.cloud.sap/docs/get-started/jumpstart#project-structure)             | [`./`](./)                           |\n| [Domain Modeling with CDS](https://cap.cloud.sap/docs/guides/domain-modeling)                             | [`./db/schema.cds`](./db/schema.cds) |\n| [Defining Services](https://cap.cloud.sap/docs/guides/providing-services#modeling-services)               | [`./srv/*.cds`](./srv)               |\n| [Single-purposed Services](https://cap.cloud.sap/docs/guides/providing-services#single-purposed-services) | [`./srv/*.cds`](./srv)               |\n| [Providing \u0026 Consuming Providers](https://cap.cloud.sap/docs/guides/providing-services)                   | http://localhost:4004                |\n| [Using Databases](https://cap.cloud.sap/docs/guides/databases)                                            | [`./db/data/*.csv`](./db/data)       |\n| [Adding Custom Logic](https://cap.cloud.sap/docs/guides/providing-services#adding-custom-logic)           | [`./srv/*.js`](./srv)                |\n| Adding Tests                                                                                              | [`./test`](./test)                   |\n| [Sharing for Reuse](https://cap.cloud.sap/docs/guides/extensibility/composition)                          | [`./index.cds`](./index.cds)         |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarianfoo%2Fcap-post-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarianfoo%2Fcap-post-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarianfoo%2Fcap-post-test/lists"}