This project created for better understanding simple UI deployment requirements for very basic SAP CAP project.
books
model created with three properties (db/model.cds
)- CSV files added, localized text maintained for en,de,fr (
cap-flp-sample.Books_texts.csv
) - CatalogService created and exposed Books entity only (
srv/service.cds
) - SAP Fiori Tools used for app generation List Report oData v4 (FE Elements - LROP)
- A few line annotation added for the List view
UI.LineItem
(app/browse/books/annotation.cds
) - cf_mta folder created for approuter, appdeployer and portalsite
- mta.yaml configuration arranged accordingly for FE-SAMPLES repo.
- mbt build && cf deploy to cloud foundry trial account
It contains these folders and files, following our recommended project layout:
File / Folder | Purpose |
---|---|
app/ |
content for UI frontends go here |
db/ |
your domain models and data go here |
srv/ |
your service models and code go here |
cf_mta |
approuter, appdeployer and portalsite directories go here |
package.json |
project metadata and configuration |
readme.md |
this getting started guide |