|
1 | 1 |
|
2 | 2 | > [!CAUTION] |
3 | | -> This repo is sealed, with the new location being anounced soon. |
4 | | -
|
5 | | - |
6 | | -# Welcome to cap/samples |
7 | | - |
8 | | -Find here a collection of samples for the [SAP Cloud Application Programming Model](https://cap.cloud.sap) organized in a simplistic [monorepo setup](readme/samples.md#all-in-one-monorepo). |
9 | | - |
10 | | - |
11 | | - |
12 | | -## Get Started |
13 | | - |
14 | | -Assumed you did your [initial setup of CAP Node.js](https://cap.cloud.sap/docs/get-started/#setup), simply copy & paste these lines to a terminal for a jumpstart: |
15 | | - |
16 | | -```sh |
17 | | -git clone -q https://github.com/sap-samples/cloud-cap-samples cap/samples |
18 | | -cd cap/samples |
19 | | -npm install |
20 | | -npm test |
21 | | -npm start |
22 | | -``` |
23 | | - |
24 | | -After download and setup this starts the bookshop server and opens a browser window on _http://localhost:4004_ looking like that: |
25 | | - |
26 | | -<p align="center"> |
27 | | - <img width=480 src="readme/index-html.png" alt="bookshop showing up in browser" /> |
28 | | -</p> |
29 | | - |
30 | | -Click on the *[/vue](http:/localhost:4004/vue)* link at the top to display the bookshop app (when asked to log in, type `alice` as user and leave the password field blank). |
31 | | - |
32 | | -## Grow as you go... |
33 | | - |
34 | | -After the jumpstart, have a look into the enclosed sub folders/projects, which are: |
35 | | - |
36 | | -- [bookshop](bookshop) – a simplistic [primer app](https://cap.cloud.sap/docs/get-started/in-a-nutshell) |
37 | | -- [reviews](reviews) - a generic reuse service |
38 | | -- [orders](orders) - a generic reuse service |
39 | | -- [common](common) - a reuse content package |
40 | | -- [bookstore](bookstore) - a composite app of the above |
41 | | - |
42 | | -> _see also [samples.md](readme/samples.md)_ |
43 | | -
|
44 | | -<p align="center"> |
45 | | - <img width=480 src="readme/samples.drawio.svg"> |
46 | | -</p> |
47 | | - |
48 | | -## Get Help |
49 | | - |
50 | | -- Visit the [*capire* docs](https://cap.cloud.sap) to learn about CAP, ... |
51 | | -- especially [*Getting Started in a Nutshell*](https://cap.cloud.sap/docs/get-started/in-a-nutshell). |
52 | | -- Visit our [*SAP Community*](https://answers.sap.com/tags/9f13aee1-834c-4105-8e43-ee442775e5ce) to ask questions. |
53 | | - |
54 | | - |
55 | | -## License |
56 | | - |
57 | | -Copyright (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. |
| 3 | +> We moved all our samples to https://github.com/capire. |
| 4 | +> This repo is archived. |
0 commit comments