An open API service indexing awesome lists of open source software.

https://github.com/capire/bookstore

A composite app on top of bookshop, reviews and orders
https://github.com/capire/bookstore

cap compose fiori reuse

Last synced: 5 months ago
JSON representation

A composite app on top of bookshop, reviews and orders

Awesome Lists containing this project

README

          

# @capire/bookstore

A composite app of

- [bookshop](https://github.com/capire/bookshop) – a simple [primer app](https://cap.cloud.sap/docs/get-started/in-a-nutshell)
- [reviews](https://github.com/capire/reviews) - a generic reuse service
- [orders](https://github.com/capire/orders) - a generic reuse service
- [common](https://github.com/capire/common) - a reuse content package
- [SAP Fiori Elements UIs](app)

### Get it

```sh
git clone https://github.com/capire/bookstore
cd bookstore
npm install
```

> This repository uses the [github npm registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry) for the `@capire` scope. You may need to login using a github personal access token with scope `read:packages`.
> ```sh
> npm login --scope @capire --registry=https://npm.pkg.github.com
> ```

### Run it

```sh
cds watch bookstore
```

### Deploy it

This @capire/bookstore sample demonstrates the consumption of external services via the `ReviewsService` and `OrdersService`. Therefore, remove the `"kind": "odata"` entries in _package.json_ if you want to deploy this project as a _monolith_.

To deploy the microservices separately in a _modulith_ deployment, refer to the enclosing [`samples`](https://github.com/capire/samples) monorepo and its deployment and pipeline configuration.

## License

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.