2019-09-06 14:30:18 +05:30
2019-09-06 13:56:54 +05:30
2019-09-06 13:56:54 +05:30
2019-09-06 14:30:18 +05:30

cloud-cap-samples

This is a monorepository for sample projects on Cloud Application Programming Model (CAP).

Description

This repository provides a list of samples and reusable packages created based on CAP. The SAP Cloud Application Programming Model enables you to quickly create business applications by allowing you to focus on your domain logic. It offers a consistent end-to-end programming model that includes languages, libraries and APIs tailored for full-stack development on SAP Cloud Platform.

The samples provided can be run in a local setup on sqlite db.

Samples:

  • bookshop - Showcases different services serving the same set of data entities from a sqlite database. The services match different use cases visualized in corresponding Fiori apps.
  • bookstore - A variant of the bookshop application, built in a modular fashion on top of products-service and common reuse packages.
  • common-contacts - A reuse package with common domain models and services for contacts-related data.
  • common-currencies - A reuse package providing common domain models and services for currencies-related data.
  • media-server - A reuse service to manage and serve media content on behalf of other services and apps.
  • orders-service - A reuse package providing domain models and services to submit and manage purchase orders.
  • products-service - A reuse package providing domain models and services to manage product catalogs.
  • reviews-service - A reuse service providing generic means to add reviews and ratings to target objects, e.g. products.
  • users-service - A reuse service for users-related functions, like registration, user profile mgmt, etc.

Requirements

Optional (if you want to import the code into an editor)

Download and Installation

Clone and build the application

git clone https://github.com/SAP-samples/cloud-cap-samples.git

cd samples

npm install

Run the samples

npm run <sample name>

eg: npm run bookshop

Test the application

Open these links in your browser:

Limitations

None

Known Issues

None

How to obtain support

In case you find a bug, or you need additional support, please open an issue here in GitHub.

To-Do (upcoming changes)

None

License

Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under SAP Sample Code License Agreement, except as noted otherwise in the LICENSE file.

Description
This project contains sample applications for SAP Cloud Application Programming Model.
Readme Apache-2.0 10 MiB
Languages
JavaScript 64.7%
CAP CDS 23.6%
HTML 11.7%