/remoteConnectCAP

Sample CAPM application with remote API consumption

Primary LanguageJavaScript

Getting Started

Welcome to your new project.

It contains these folders and files, following our recommended project layout:

File or Folder Purpose
app/ content for UI frontends goes here
db/ your domain models and data go here
srv/ your service models and code go here
package.json project metadata and configuration
readme.md this getting started guide

Next Steps

  • Open a new terminal and run cds watch
  • (in VS Code simply choose Terminal > Run Task > cds watch)
  • Start adding content, for example, a db/schema.cds.

Learn More

Learn more at https://cap.cloud.sap/docs/get-started/.

  1. cf env remoteConnectCAP-srv > default-env.json : to add default-env.json. After getting the file edit to the proper json format.
  2. To add roles if approuter is not used(hardcoding).
    role-collections: 
    - name: 'Administrator'
    description: Administrative Access
    role-template-references:
        - $XSAPPNAME.admin