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 |
- 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 at https://cap.cloud.sap/docs/get-started/.
cf env remoteConnectCAP-srv > default-env.json
: to add default-env.json. After getting the file edit to the properjson
format.- To
add roles
ifapprouter
is not used(hardcoding).role-collections: - name: 'Administrator' description: Administrative Access role-template-references: - $XSAPPNAME.admin